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

turtlebot2 /odom and base_footprint tf

asked 2013-07-18 22:41:07 -0600

focs gravatar image

Hello, I've been working with a turtlebot with a roomba base for which I developed some very simple algorithm like just going to a point. To know the current position of the robot I used the /odom message published by the turtlebot. To visualize the result I plotted the base_footprint on rviz. The robot was moving correctly and it reached the correct position in rviz.

Now we got some new turtlebot 2 with kobuki base on which I tried to apply the same algorithm. In this case the position given by the /odom message was different to the position given by the base_footprint tf. For instance /odom would say that the robot hat reached the position (0,0), actually with about half a meter of error, but the base_footprint tf was giving a different position, in rviz the robot was not at (0,0) but half meter away or so.

I would like to know it that behavior is normal or not. One difference between the two robots is that second one has a gyro and the other doesn't. Could it be that one of the measures is integrating it and the other is not?


edit retag flag offensive close merge delete


Thanks! that confirms my thoughts.

focs gravatar image focs  ( 2013-07-29 01:10:12 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-21 23:35:53 -0600

jorge gravatar image

Not sure about the 0.5 m difference, but odom and base_footprint can be different , as the first one is provided by motor encoders and the second by fussing (robot_pose_ekf) odom with gyro data. However, odom_combined and base_footprint should provide the same pose.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-07-18 22:41:07 -0600

Seen: 1,067 times

Last updated: Jul 18 '13