Hi I have an sdf where I include the same model multiple times:arm_1 model://some_component 0 0 0 0 0 0 arm_2 model://some_component 1 0 0 0 0 0
Now each of these includes loads a modelplugin. The plugin then needs to find a certain link inside the include it is part of itself. However, I have no way of knowing what the name of the include is. All I can get is a list of all links in the model, but can't figure out which one belongs to the plugin. And trying to access _model->GetName() yields the name of the parent model ("big_as_robot"). So I'm looking for a way to make the plugin in "arm_2" say that it's part of "arm_2".
Any help appreciated!
↧