Ask Your Question
0

Fusing odom, imu, magnetometer with robot localization

asked 2020-04-07 08:18:28 -0500

elgarbe gravatar image

Hi, I'm looking for information about fusing odometry with imu and magnetometer. Just in 2D. My sensors are connected to an embbeded systems and I'm publishing raw data to ROS using rosserial. Right now I'm publishing odometry, IMU (raw Gyro and accel data) and raw (after calibration) magnetometer data. I'm not providing orientation data, just raw data. What is better, fusing all raw data in robot_localization? make some complimentary filter between gyro and magnetometer and publish orientation in IMU msg? has someone a config file for robot_localization with this sensors? I'm not sure what magneticfield data could be added to RL config file. I think I need to, at least, calculate heading with magnetometer an publish it...

thank

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-05-05 02:56:07 -0500

Tom Moore gravatar image

If it were me, I'd feed the IMU and magnetometer data to imu_filter_madwick. Then I'd fuse the output of that node with the wheel odometry data in an r_l EKF instance. That's a pretty straightforward setup, and the EKF config example would be a good place to start.

edit flag offensive delete link more

Comments

Thank you very much Tom for you time. I will do that.

elgarbe gravatar image elgarbe  ( 2020-05-05 11:37:36 -0500 )edit

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-04-07 08:18:28 -0500

Seen: 85 times

Last updated: May 05