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

resetting turtlebot odometry in simulation

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

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

Hi,

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

Comments

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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

bit-pirate gravatar image

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

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: https://github.com/turtlebot/turtlebot/issues

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

edit flag offensive delete link more

Comments

Ok, thanks

aknirala gravatar image aknirala  ( 2013-04-06 04:59:22 -0500 )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 -0500 )edit

Question Tools

Stats

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

Seen: 1,216 times

Last updated: Apr 06 '13