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

Revision history [back]

click to hide/show revision 1
initial version

There is a service available to do this, all you have to do is call it with :

rosservice call /gazebo/reset_simulation "{}"

Just note that if you use AMCL or gmapping you will have to reset those nodes too, the service will only reset the robot in the gazebo world (so in case of gmapping that won't reset the map ).