Set Odometry and SetModelState
For repeated tests, I want to move my robot back to (0,0). I've been using SetModelState, but that does not reset the odometry. Is there a way to reset the odometry easily?
I found LAYER_POSITION2D_REQ_SET_ODOM here but it's unclear how to use it from ROS.
Edit: I'm using the basic PR2 setup in conjunction with ROS. I create an empty world and spawn a PR2 in it. The /base_odometry/odom topic is published by the /gazebo node.
what robot and which odometry are you talking about? Where do you get the odometry from, a plugin?