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

How to programmatically reset Gazebo

asked 2011-02-22 14:21:24 -0500

ben gravatar image

Students in the class I'm TAing are wondering if there is a way to programmatically reset the Gazebo simulation so they can debug their projects faster. I could benefit from this too :). A couple of them said that they looked through the documentation and couldn't find anything in the Gazebo API.

Is it possible to programmatically reset a Gazebo simulation?



edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2011-02-23 10:58:33 -0500

hsu gravatar image

updated 2011-02-23 11:00:09 -0500

here's the ticket and the potential candidate patch

edit flag offensive delete link more

answered 2011-02-23 09:27:24 -0500

john gravatar image

Besides the drop down menu file--> reset through the gazebo gui, there isn't a way right now, but it should be easy to add a ros service call for resetting the world. Can you please ticket me on this? Thanks, John

edit flag offensive delete link more

answered 2011-02-23 15:37:22 -0500

ben gravatar image

Thanks Jon! That was super quick. I'll have one of the students try out the patch.

edit flag offensive delete link more

Question Tools


Asked: 2011-02-22 14:21:24 -0500

Seen: 1,967 times

Last updated: Feb 23 '11