IMU to Camera constraint? #1739
-
Hi, I have an IMU and a Stereo Camera and some calibration information, I'm a little bit confused on how you create constraints between these two sensors. It could be modeled as a pose constraint with a really low variance but I would rather enforce an equality constraint between them(ex IMU_pose_(t_1) = T*(cam_pose_(t_1)) |
Beta Was this translation helpful? Give feedback.
Answered by
scott-robotics
Apr 3, 2024
Replies: 1 comment 2 replies
-
I think you can use the body_T_sensor of the IMUFactor |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The local transform / extrinsic between the sensors is handled in the Preintegration routine (via
PreintegratedRotationParams
).Here's an example using IMU preintegration: https://github.com/borglab/gtsam/blob/develop/examples/ImuFactorsExample.cpp