ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What imu_filter_madgwick does is to integrate the angular velocities, linear accelerations and magnetometer readings. Your robot_localization config file takes into account angular velocities and linear accel from the imu, so you are double counting them. Try setting imu angular vel and linear accel to false. Also, remove the accelerations unless you have a very, very nice IMU that is well calibrated. That is a likely candidate source of your issues.

What imu_filter_madgwick does is to integrate the angular velocities, linear accelerations and magnetometer readings. readings to obtain an orientation estimate.

Your robot_localization config file takes into account angular velocities and linear accel from the imu, so you are double counting them. Try setting imu angular vel and linear accel to false. false. Also, remove the accelerations unless you have a very, very nice IMU that is well calibrated. That is a likely candidate source of your issues.