Gazebo | Ignition | Community
Ask Your Question

Benefit of creating a model plugin when a world plugin exists

asked 2017-07-29 14:34:48 -0500

hamzamerzic gravatar image

updated 2017-07-29 14:37:44 -0500

Is there a benefit to using a model plugin to change the state of a model, if a world plugin that can do that already exists? Or let's say I have 10 models that I want to manipulate at the same time? Or more general, benefit of using "lower level" plugins, when "higher level" ones exist.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-08-01 19:34:50 -0500

iche033 gravatar image

Whatever you do in a model plugin, you should also be able to do in a world plugin.

Sometimes using a model plugin is more convenient, e.g. when new models are inserted, the model plugin will run automatically, whereas in a world plugin you will have to monitor newly inserted models and verify that's it's the model that you want.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-07-29 14:34:48 -0500

Seen: 161 times

Last updated: Aug 01 '17