-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a way for plugins to explicitly disable implicitly created network wrappers server #585
Comments
The thing that confused me a little bit about gazebo-yarp-plugins/plugins/forcetorque/src/ForceTorque.cc Lines 57 to 63 in 880af12
But it is doing more than that, it disable also the explicit wrapper instantiation from ini files see: gazebo-yarp-plugins/plugins/controlboard/src/ControlBoard.cc Lines 103 to 119 in 880af12
gazebo-yarp-plugins/plugins/depthCamera/src/DepthCamera.cc Lines 92 to 108 in 880af12
gazebo-yarp-plugins/plugins/imu/src/IMU.cc Lines 86 to 130 in 880af12
gazebo-yarp-plugins/plugins/forcetorque/src/ForceTorque.cc Lines 84 to 92 in 880af12
I would re-enable the open of the wrappers, also when the implicit wrapper is disabled |
I think this is the source of the confusion. What you are calling explicit network wrapper is what we are calling (me and @ste93, see #569) the implicit network wrapper (we are calling it implicit, as it is always create whenever the Gazebo plugin is created). However, we can clarify ourself on teams. If I am not wrong, what you are calling implicit created device are only created if you are using the command line tool
But in this case we would not solve the problem listed in #585, if I am not wrong. |
Yes what confuse me is the term "implicit" but for sure we can continue F2F or T2T.
Yes for me implicit is that, but it is just a matter of agree on the nomeclature, and maybe write it somewhere |
yep, I will be at cris wednesday if you want f2f, otherwise I'm always available on teams |
Fixed by #586 . |
See #569 for a recap on this in situation. In a nutshell, now we have the
GAZEBO_YARP_PLUGINS_DISABLE_IMPLICIT_NETWORK_WRAPPERS
option that just disable all implicitly created network wrappers server, as we would expect thatgazebo-yarp-plugins
will work in the future. However users that are migrating to the newnws
/nwc
system, are actually requiring theGAZEBO_YARP_PLUGINS_DISABLE_IMPLICIT_NETWORK_WRAPPERS
option to beON
, as they do not want to launch at all the implicit network wrappers.However, for various reason having models that use
gazebo-yarp-plugins
compiled with a non-standard flag enabled is problematic for a various of reason:GAZEBO_YARP_PLUGINS_DISABLE_IMPLICIT_NETWORK_WRAPPERS
to be ONgazebo-yarp-plugins
via binaries (for example conda binaries) to simulate the new modelsTo avoid this situation, I guess the easier way to avoid this problem is to provide users a way to explicity disable at runtime the instantiation of implicity created network wrappers servers, for example a
disableImplicitNetworkWrapper
option. This option will be ignored ifGAZEBO_YARP_PLUGINS_DISABLE_IMPLICIT_NETWORK_WRAPPERS
option isON
and when it will beON
by default, but it will help a lot in this transition period to simulate with the samegazebo-yarp-plugins
both new and old models.The text was updated successfully, but these errors were encountered: