Ask Your Question

robot_localization with imu and encoder shaking odom->base transform

asked 2021-02-19 13:08:00 -0500

updated 2021-02-19 13:14:31 -0500


i am using robot_localization to merge imu and wheel encoder data and want it to publish the odom->base_footprint (2d projection of base_link) transform. I configured everything so far, but the transform starts to shake more and more the further the robot drives away from the start-point. The entire robot is simulated in gazebo.

The problem is very simillar to 290160 but it seems like the original author hasn't found a solution either back in 2018.

I would be thankful if anyone can help me out here.

EDIT: i just found out that gazebo is still publishing the odom transform even though i set the parameter publishOdom of the differential plugin to false. I only found this by refreshing my tf tree very fast and saw gazebo as the publisher every now and then.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-02-19 13:22:51 -0500

After realizing this problem is caused by Gazebo and not by robot_localization i found out that the problem is caused by an error in the gazebo tutorials here Gazebo tutorials. In the differential drive plugin section the parameter is written as publishOdom but it needs to be publishOdomTF.

I know that this now transitioned to a gazebo related question and/or answer and should be over at the gazebo forum but still want the information to be somewhere.

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


Asked: 2021-02-19 13:08:00 -0500

Seen: 62 times

Last updated: Feb 19