How to add/delete a object mutliple times from a single model file using a plug-in
Hi
I like to add multiple cylinders with an id and i like also to remove them after a ceartain time using a plug-in. I worked through the model factory example. http://gazebosim.org/wiki/Tutorials/1.9/plugins/factory I am able to add, let's say ten cylinders but all cylinders a named the same. So my first question is how to I add a model, from file with a different name? How to I remove a added model by name using a plug-in?
Thanks
If you add them as in the tutorial, you could usa a variable for the model name in order to use different values. And you should be able to remove them with http://gazebosim.org/api/dev/classgazebo11physics11Model.html#ae8f752eae4b0a138fae49065e24e202c