Also log the IMU correction as a quaternion. (#463)
parent
0ef372d584
commit
edfd6ac8d7
|
@ -290,12 +290,13 @@ void OptimizationProblem::Solve(const std::vector<Constraint>& constraints,
|
||||||
}
|
}
|
||||||
LOG(INFO) << "Gravity was: "
|
LOG(INFO) << "Gravity was: "
|
||||||
<< trajectory_data_[trajectory_id].gravity_constant;
|
<< trajectory_data_[trajectory_id].gravity_constant;
|
||||||
|
const auto& imu_calibration =
|
||||||
|
trajectory_data_[trajectory_id].imu_calibration;
|
||||||
LOG(INFO) << "IMU correction was: "
|
LOG(INFO) << "IMU correction was: "
|
||||||
<< common::RadToDeg(
|
<< common::RadToDeg(2. * std::acos(imu_calibration[0]))
|
||||||
2. *
|
<< " deg (" << imu_calibration[0] << ", " << imu_calibration[1]
|
||||||
std::acos(
|
<< ", " << imu_calibration[2] << ", " << imu_calibration[3]
|
||||||
trajectory_data_[trajectory_id].imu_calibration[0]))
|
<< ")";
|
||||||
<< " deg";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue