style(imu): remove useless log.

This commit is contained in:
TinyO 2019-09-29 16:46:40 +08:00
parent 283f0b141c
commit 78fe5c813d
2 changed files with 1 additions and 6 deletions

View File

@ -879,11 +879,7 @@ bool Channels::XuImuRead(ImuResPacket2 *res) const {
<< " now"; << " now";
return false; return false;
} }
// LOG(INFO) << res->size;
if (enable_imu_correspondence) {
LOG(INFO) << "enable_imu_correspondence";
} else {
}
VLOG(2) << "XuImuRead response success"; VLOG(2) << "XuImuRead response success";
return true; return true;
} else { } else {

View File

@ -134,7 +134,6 @@ void unpack_imu_segment2(const ImuData2 &imu, ImuSegment2 *seg) {
seg->accel[1] = 0.; seg->accel[1] = 0.;
seg->accel[2] = 0.; seg->accel[2] = 0.;
} else if (seg->flag == 3) { } else if (seg->flag == 3) {
LOG(INFO) << "flag3";
seg->gyro[0] = imu.accel_or_gyro[0]; seg->gyro[0] = imu.accel_or_gyro[0];
seg->gyro[1] = imu.accel_or_gyro[1]; seg->gyro[1] = imu.accel_or_gyro[1];
seg->gyro[2] = imu.accel_or_gyro[2]; seg->gyro[2] = imu.accel_or_gyro[2];