Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

Best practices for programmatic start, unpause, and shutdown of Gazebo simulation

Ubuntu 16.04
Gazebo 7.0
ROS Kinetic

For both regression testing and experiments, I want to set up a framework that:
1) Launches Gazebo and loads the payload models/plugins, etc. w/ the simulation paused
2) Unpauses Gazebo once it has finished loading
3) Run my experiment
4) Closes gz_server & client
5) Repeat
6) Profit?!

Does anyone have advice/suggestions/templates for this type of use-pattern?

I was planning to start Gazebo via the gazebo_ros package using subprocess wtih roslaunch.

My primary concern is 2). Does Gazebo broadcast some kind of signal once it's finished starting up completely?