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

resetting turtlebot odometry in simulation

asked 2013-04-06 02:15:15 -0600

updated 2013-04-06 04:56:35 -0600


Is there a way to reset the odometry in simulation of turtlebot.

When I reset the Gazebo world the data published via topic /odom and /robot_pose_ekf/odom remains unchanged. Probably that is because it is not part of the gazebo.

Is there a way I can reset it.

Edit : I am using electric on Ubuntu 11.10

edit retag flag offensive close merge delete


Please state the ROS distro you are using, e.g. add a tag (fuerte, groovy etc.).

bit-pirate gravatar image bit-pirate  ( 2013-04-06 04:11:33 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-06 04:12:59 -0600

bit-pirate gravatar image

updated 2013-04-06 18:42:18 -0600

The short answer is no. The current plugin does not allow resetting the odom and robot_pose_ekf data.

However, in Gazebo you could just delete the current turtlebot and create a new one.

Please file a ticket on Github for this missing feature:

Or even better, implement the necessary changes and make a pull request! :-)

edit flag offensive delete link more


Ok, thanks

aknirala gravatar image aknirala  ( 2013-04-06 04:59:22 -0600 )edit

Just a thought, in navigation stack robot is localized in the map. So that must be constantly updating odom of it. How is that done?

aknirala gravatar image aknirala  ( 2013-04-12 15:32:05 -0600 )edit

Question Tools


Asked: 2013-04-06 02:15:15 -0600

Seen: 1,208 times

Last updated: Apr 06 '13