Create custom configuration file with home position for the yarpmotorgui #108
-
Dear all, I freshly installed yarp iCub and the codyco superbuild to work with the WBI and Gazebo. How do I create this custom zero group ? Is there a configuration file that I have to create ? Thanks for your help ! |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
There is already one in |
Beta Was this translation helpful? Give feedback.
-
@jeljaik I feel to really encourage the use of the command line option |
Beta Was this translation helpful? Give feedback.
-
@pattacini How should I call it with the context option ? |
Beta Was this translation helpful? Give feedback.
-
$ yarpmotorgui --context context-name --from robotMotorGui.ini where See #42 for more details on this topic. |
Beta Was this translation helpful? Give feedback.
-
Thanks I put my custom configuration file in my YARP_DATA_DIRS personal folder and it works even without context. |
Beta Was this translation helpful? Give feedback.
-
Dear all, home and calibration parameters SHOULD NOT be inside the motorgui config file. Instead, the calibration and homing are remote, in the sense that values are stored by the yarprobotinterface and the motorgui only ask to perform the operation, without providing any parameters. in file /wrapper/motorControl/_mc_wrapper.xml This tag tells the wrapper which calibrator it has to use when homing/calibrating
This has been done to avoid duplication of sensitive calibration parameters in different files and having to customize too much the motorgui config files. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I just read this was about the simulator... I was speaking about the real robot. Since the simulator does not support calibration device yet, the zero values must be still in the motorgui config file. An improvement could be to introduce calibration, at least homing/parking, device in the simulator to have the same behavior. |
Beta Was this translation helpful? Give feedback.
-
But please consider this just a temporary fix... Home values will be remotized soon :) |
Beta Was this translation helpful? Give feedback.
Dear all, home and calibration parameters SHOULD NOT be inside the motorgui config file.
Instead, the calibration and homing are remote, in the sense that values are stored by the yarprobotinterface and the motorgui only ask to perform the operation, without providing any parameters.
If it does not works, it means the config file of the robot is missing the following part:
in file /wrapper/motorControl/_mc_wrapper.xml
add the
Calibrator
tag.This tag tells the wrapper which calibrator it has to use when homing/calibrating
for example for torso