-
Notifications
You must be signed in to change notification settings - Fork 6
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
Take a decision about loading of gazebo plugins #23
Comments
Allora, actually we could put these plugins inside the coman_robot.urdf.xacro so we can utomatically load the plugin based on the robot that we want to simulate (for instance coman with old forearms or coman with new forearm and actuated hands and so on). If we do in these way of course we can not specify anymore the initial configuration of the robot inside the world file but only in the urdf basically. This is not a big issue in my opinion since I think I am the only one that use this thing. So... |
@EnricoMingo +1, as the sensor yarp plugins are already defined inside the robot urdf/sdf I don't see why the controlboard should be different. This has also the nice side-effect of adding the feature of drag'n'drop of a working Coman from Gazebo GUI. Regarding loading different parameters for the plugins, we can also consider the open discussion of supporting yarp-style configuration files ( robotology/gazebo-yarp-plugins#53 ). |
ok so we will move the plugin from the world to the urdf. |
Why we can not load also the clock plugin directly instead of passing it as argument? |
In which sense directly? |
Please don't go offtopic with another plugin or we will not understand anything in 2 days from now, we were talking here about libgazebo_yarp_controlboard. |
Ok. |
Currently the model plugins are loaded inside the .world file and not inside the sdf file of the model.
This has some benefits:
But also some problems:
Possible solutions to this problem would be to:
2.1) initial configuration for the joint should be...
2.1.1) put in an external plugin (e.g. initial configuration plugin) - we loose the option of specifying custom PID configuration files, but this feature has not been used so far and I'm not sure it should be used
2.1.2) delegated to the control code, thus introducing the need for a virtual crane, which could be as simple as disabling gravity and reenabling it after the homing, but several other solutions could be possible
What do you think @MirkoFerrati @traversaro @EnricoMingo ?
The text was updated successfully, but these errors were encountered: