Fix imu packet checksum log
This commit is contained in:
parent
20844c3a3e
commit
12dcb762e4
|
@ -375,9 +375,9 @@ bool Channels::XuImuRead(ImuResPacket *res) const {
|
||||||
if (checksum != res->checksum) {
|
if (checksum != res->checksum) {
|
||||||
LOG(WARNING) << "Imu response packet checksum should be 0x" << std::hex
|
LOG(WARNING) << "Imu response packet checksum should be 0x" << std::hex
|
||||||
<< std::uppercase << std::setw(2) << std::setfill('0')
|
<< std::uppercase << std::setw(2) << std::setfill('0')
|
||||||
<< static_cast<int>(res->checksum) << ", but 0x"
|
<< static_cast<int>(checksum) << ", but 0x" << std::setw(2)
|
||||||
<< std::setw(2) << std::setfill('0')
|
<< std::setfill('0') << static_cast<int>(res->checksum)
|
||||||
<< static_cast<int>(res->checksum) << " now";
|
<< " now";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user