correct some comments

This commit is contained in:
liqiang 2023-01-05 17:31:26 +08:00
parent 1a9b6569b7
commit efc19b2a69

View File

@ -154,13 +154,13 @@ void GIEngine::newImuProcess() {
void GIEngine::imuCompensate(IMU &imu) {
// 补偿IMU零偏误差
// compensate the imu bias error
// 补偿IMU零偏
// compensate the imu bias
imu.dtheta -= imuerror_.gyrbias * imu.dt;
imu.dvel -= imuerror_.accbias * imu.dt;
// 补偿IMU比例因子误差
// compensate the imu scale error
// 补偿IMU比例因子
// compensate the imu scale
Eigen::Vector3d gyrscale, accscale;
gyrscale = Eigen::Vector3d::Ones() + imuerror_.gyrscale;
accscale = Eigen::Vector3d::Ones() + imuerror_.accscale;