-
Notifications
You must be signed in to change notification settings - Fork 194
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
[wish][doc] documentation of controlboardwrapper2 device #310
Comments
Just to add a real bug: documentation for |
It was added mainly to support the iCub_SIM, it is usable but it actually checks for a subset of parameter slightly different than the standard way. |
I understand. What is the standard way of spawning a controlboardwrapper2 wrapping a given device using (yarp|icubmod)dev? (The "controlboard" equivalent of this camera configuration file: https://github.com/robotology/icub-main/blob/master/app/robots/iCubGenova01/camera/dragonfly2_config_left.ini ) |
One example is the following:
If you are using .ini files (not robotInteface) substitute the paramlists with group like this: networks (left_arm_joints left_hand_joints) Note: in this case you have to call the attach method with the proper PolyDriverList set in place. If you are running it from terminal, you can only use --subdevice option. I know this device is kind of complex, if you need more information please tell me. |
Mhh I got the basic understanding. The We could then use this simple mode in gazebo_yarp_controlboard configuration to get rid of a lot of duplication that we have in configuration files at the moment. |
Well ... yes and no In order to use the --subdevice for gazebo plugins there are 2 thing to take into account:
|
Mhh I did not want to to invoke the device through
This is quite confusing for the user because information is quite redundant: I guess we can support this way of writing configuration files by adding some code for avoiding explicitly creating/attaching the gazebo_controlboard device it the |
Documentation now is in doxygen with examples and quite accurate. |
I remember that at some point you wrote the documentation. But I can't find the device documented in http://www.yarp.it/group__dev__impl__wrapper.html . Something went wrong in doxygen generation? |
Yes, it looks like the documentation was generated in the wrong place :-( |
More of a wish then a bug, but I was using a bit the controlboardwrapper2 device and its behaviour with respect to input configuration is quite a black magic (even checking on the
open(..)
source code!).When you have some time @barbalberto could you push some documentation on the used parameters? Thanks a lot!
Some random points that would be nice to be addressed in documentation:
subdevice
parameter supported or is supported only for running legacy code iniCub_SIM
?The text was updated successfully, but these errors were encountered: