ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

IMU magnetic reference with other odom sources

asked 2022-07-05 11:04:22 -0500

MrOCW gravatar image

Hi, I am trying to use GPS RTK for localization so if I am not wrong, navsat transform would require IMU to be earth reference frame. My IMU reads 0 yaw when facing East so yaw_offset: 0? I then fuse absolute orientation in my ekf but my other sources of odom, lidar and visual odom, translate in odom frame's x axis, while the orientation of the robot faces the earth reference frame which is different. How do I address this orientation difference?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-07-28 09:15:56 -0500

Tom Moore gravatar image

My IMU reads 0 yaw when facing East so yaw_offset: 0

So facing east geographically, your IMU always reads 0? What if you face south when you start it, and then turn east? I just haven't seen any IMUs read 0 when facing east.

As for the rest of your question, it sounds like the crux of your issue is that you are attempting to fuse two different sources of pose data with disagreeing frames. If it were me, I'd just fuse orientation velocity from the IMU into your EKF. That, or use relative mode for the IMU in the EKF.

But you should include your full config (please remove comments) and a sample message from each sensor input.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-07-05 11:04:22 -0500

Seen: 29 times

Last updated: Jul 28