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

How to remove or respawn robots during the simulation?

asked 2017-04-20 03:06:31 -0500 gravatar image

Hi everyone

I am a new ros user. Currently, I am implementing an algorithm by using Ros platform with Gazebo simulator. I will use a group of robot (at least 10 hector quadrotors) for the simulations. And under some certains conditions, the robot need to be removed or respawned during the simulation.

I use .cpp file as a rosnode to run the controllers (algorithm) for all robots. Does anyone know how to realize this dynamic removal or respawn through .cpp file? or .launch file?

Thank you very much

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-20 21:30:10 -0500

Geoff gravatar image

Please don't ask duplicate questions. Your other version of this has an answer.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-04-20 03:06:31 -0500

Seen: 507 times

Last updated: Apr 20 '17