FAST_LIO icon indicating copy to clipboard operation
FAST_LIO copied to clipboard

A question about code of Backward Propagation and Motion Compensation

Open Lmixq opened this issue 3 years ago • 1 comments

According to paper, a distort point is projected by extrinsic, relative pose and the inverse of extrinsic. But in the code IMU_Processing.hpp 320-324

      V3D P_i(it_pcl->x, it_pcl->y, it_pcl->z);
      V3D T_ei(pos_imu + vel_imu * dt + 0.5 * acc_imu * dt * dt - imu_state.pos);
      V3D P_compensate = imu_state.offset_R_L_I.conjugate() * (imu_state.rot.conjugate() * (R_i * (imu_state.offset_R_L_I * P_i + imu_state.offset_T_L_I) + T_ei) - imu_state.offset_T_L_I);

which whether is lacked a minus of translation of frame-end?And it would be

      V3D P_i(it_pcl->x, it_pcl->y, it_pcl->z);
      V3D T_ei(pos_imu + vel_imu * dt + 0.5 * acc_imu * dt * dt - imu_state.pos);
      V3D P_compensate = imu_state.offset_R_L_I.conjugate() * ((imu_state.rot.conjugate() * (R_i * (imu_state.offset_R_L_I * P_i + imu_state.offset_T_L_I) + T_ei) - imu_state.pose) - imu_state.offset_T_L_I);

Lmixq avatar Nov 10 '21 09:11 Lmixq

T_ei = T_i - T_e

XW-HKU avatar Nov 12 '21 14:11 XW-HKU

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 31 '22 12:12 stale[bot]