ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to programmatically reset Gazebo

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

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 -0600

hsu gravatar image

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

here's the ticket and the potential candidate patch

edit flag offensive delete link more

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

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 1,911 times

Last updated: Feb 23 '11