Ask Your Question

Revision history [back]

I don't believe that the turtlebot driver supports re-initializing odometry. I haven't used the kobuki driver, but if you have a turtlebot 2.0 then give it a shot. It has a reset_odometry feature as described here.

In general, you can solve this problem by writing a node that subscribes odom messages and republishes them for plotting. You can then add a service to this node that zeros out the values.