Gazebo | Ignition | Community
Ask Your Question

How to automate simulation through C++

asked 2017-05-19 03:15:00 -0500 gravatar image

Hi everyone,

This is from Jason. I am a new user of ros-gazebo. I use jade ros with gazebo 5. In my case, I need to control hector quadrotor through c++ code. In the algorithm of the controller, when each hector quadrotor reach the destination I set, it will be deemed as achieving the goal and will be removed from the gazebo space. I almost figure most parts of the simulation I need except for an issue. I need to run thousands of simulations in order to get enough data for my research. So, I am wondering is there any ways that I can reset simulatin settings in c++ code so that simulations can be automated.

Does anyone have relevant experiences about running many simulations in ros-gazebo automatically?

Thank you very much for any reply from you


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-19 07:10:46 -0500

dbrodeur gravatar image

Never used regression testing on both ROS and Gazebo at the same time (just on Gazebo for now). Here is the info about regression testing I have found, hope it will help you.

And here are the tutorials to connect between ROS and Gazebo :

edit flag offensive delete link more


Thank you very much Sir gravatar ( 2017-05-24 23:52:20 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-05-19 03:15:00 -0500

Seen: 743 times

Last updated: May 19 '17