robotology / gazebo-fmi

FMI import plugins for the Gazebo Simulator.
GNU Lesser General Public License v3.0
23 stars 5 forks source link

Enabled flag #50

Closed triccyx closed 5 years ago

triccyx commented 5 years ago

It would be useful the possibilitie to disable an FMU from the *.sdf file via global plugin flag default true.


 <plugin name="HED_R_fmi_actuator_plugin" filename="libFMIActuatorPlugin.so">
        <enabled>true</enabled>
        <verbose>false</verbose>

In this way we can avoid to comment the plugin lines in sdf if the FMU is not necessary

traversaro commented 5 years ago

To be honest I am not a big fan of it, but I do not think it can create big maintainability problems if introduced, so feel free to open a PR, thanks!

triccyx commented 5 years ago

Resolved