gazebo_model_destroyer_plugin icon indicating copy to clipboard operation
gazebo_model_destroyer_plugin copied to clipboard

A gazebo plugin to destroy your robot in the epic way it deserves

gazebo_model_destroyer_plugin

A gazebo world plugin that exposes a ROS service for destroying a model.

demo

Usage

Add the following configuration in the world

<plugin name="gazebo_model_destroyer_plugin" filename="libgazebo_model_destroyer_plugin.so">
  <destroyService>gazebo/destroy_model</destroyService>
  <linearVel>7</linearVel>
  <angularVel>3</angularVel>
</plugin>

Then, once gazebo is started and the model is spawned, call the destroy service with the name of the model

rosservice call /gazebo/destroy_model "model_name: my_stupid_robot"