-
Notifications
You must be signed in to change notification settings - Fork 34
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
[yarp] Deprecated functions: setPositionMode() in class yarp::dev::IPositionControl #23
Comments
In the YARP version we recommend for Debian 6.0.10 (e1221283abb1abc77619429bb4d9408cbb1cf6c8 # Corresponds to 2.3.68+181-20170203.11+gite122128) the new |
PS: What TEO uses already implements the |
Related: roboticslab-uc3m/questions-and-answers#16.
Keep in mind that there is no |
Regarding bindings, it would be easy to update yarp.i and PR. Two notes on this:
|
Ok, when I try to run teo-self-presentation, I find this error message: ||| clearing context
||| adding context [bodyExecution]
||| configuring
||| default config file specified as bodyExecution.ini
||| checking [/home/teo/repos/teo-self-presentation/build/bin/bodyExecution.ini] (pwd)
||| checking [/home/teo/.config/yarp/robots/default] (robot YARP_CONFIG_HOME)
||| checking [/home/teo/.local/share/yarp/robots/default] (robot YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-ubuntu/yarp/robots/default] (robot YARP_CONFIG_DIRS)
||| checking [/usr/share/upstart/xdg/yarp/robots/default] (robot YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/robots/default] (robot YARP_CONFIG_DIRS)
||| checking [/usr/share/ubuntu/yarp/robots/default] (robot YARP_DATA_DIRS)
||| checking [/usr/share/gnome/yarp/robots/default] (robot YARP_DATA_DIRS)
||| checking [/usr/local/share/yarp/robots/default] (robot YARP_DATA_DIRS)
||| checking [/usr/share/yarp/robots/default] (robot YARP_DATA_DIRS)
||| checking [/usr/share/ubuntu/yarp/config/path.d] (robot path.d YARP_DATA_DIRS)
||| checking [/usr/share/gnome/yarp/config/path.d] (robot path.d YARP_DATA_DIRS)
||| checking [/usr/local/share/yarp/config/path.d] (robot path.d YARP_DATA_DIRS)
||| found /usr/local/share/yarp/config/path.d
||| checking [/usr/local/share/roboticslab-speech/robots/default] (robot yarp.d)
||| checking [/usr/local/share/roboticslab-yarp-devices/robots/default] (robot yarp.d)
||| checking [/usr/local/share/teo-configuration-files/robots/default] (robot yarp.d)
||| checking [/home/teo/.config/yarp/contexts/bodyExecution] (context YARP_CONFIG_HOME)
||| checking [/home/teo/.local/share/yarp/contexts/bodyExecution] (context YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-ubuntu/yarp/contexts/bodyExecution] (context YARP_CONFIG_DIRS)
||| checking [/usr/share/upstart/xdg/yarp/contexts/bodyExecution] (context YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/contexts/bodyExecution] (context YARP_CONFIG_DIRS)
||| checking [/usr/share/ubuntu/yarp/contexts/bodyExecution] (context YARP_DATA_DIRS)
||| checking [/usr/share/gnome/yarp/contexts/bodyExecution] (context YARP_DATA_DIRS)
||| checking [/usr/local/share/yarp/contexts/bodyExecution] (context YARP_DATA_DIRS)
||| checking [/usr/share/yarp/contexts/bodyExecution] (context YARP_DATA_DIRS)
||| checking [/usr/local/share/roboticslab-speech/contexts/bodyExecution] (context yarp.d)
||| checking [/usr/local/share/roboticslab-yarp-devices/contexts/bodyExecution] (context yarp.d)
||| checking [/usr/local/share/teo-configuration-files/contexts/bodyExecution] (context yarp.d)
||| checking [/home/teo/.config/yarp/bodyExecution.ini] (YARP_CONFIG_HOME)
||| checking [/home/teo/.local/share/yarp/bodyExecution.ini] (YARP_DATA_HOME)
||| checking [/etc/xdg/xdg-ubuntu/yarp/bodyExecution.ini] (YARP_CONFIG_DIRS)
||| checking [/usr/share/upstart/xdg/yarp/bodyExecution.ini] (YARP_CONFIG_DIRS)
||| checking [/etc/xdg/yarp/bodyExecution.ini] (YARP_CONFIG_DIRS)
||| checking [/usr/share/ubuntu/yarp/bodyExecution.ini] (YARP_DATA_DIRS)
||| checking [/usr/share/gnome/yarp/bodyExecution.ini] (YARP_DATA_DIRS)
||| checking [/usr/local/share/yarp/bodyExecution.ini] (YARP_DATA_DIRS)
||| checking [/usr/share/yarp/bodyExecution.ini] (YARP_DATA_DIRS)
||| checking [/usr/local/share/roboticslab-speech/bodyExecution.ini] (yarp.d)
||| checking [/usr/local/share/roboticslab-yarp-devices/bodyExecution.ini] (yarp.d)
||| checking [/usr/local/share/teo-configuration-files/bodyExecution.ini] (yarp.d)
||| did not find bodyExecution.ini
yarp: cannot read from bodyExecution.ini
Run "./bodyExecution --help" for options.
./bodyExecution checking for yarp network... [ok]
--------------------------------------------------------------
yarp: Port /bodyExecution/teo/leftArm/rpc:o active at tcp://2.2.2.100:10019/
yarp: Port /bodyExecution/teo/leftArm/command:o active at tcp://2.2.2.100:10020/
yarp: Port /bodyExecution/teo/leftArm/stateExt:i active at tcp://2.2.2.100:10021/
yarp: Sending output from /bodyExecution/teo/leftArm/rpc:o to /teo/leftArm/rpc:i using tcp
yarp: Sending output from /bodyExecution/teo/leftArm/command:o to /teo/leftArm/command:i using udp
yarp: Receiving input from /teo/leftArm/stateExt:o to /bodyExecution/teo/leftArm/stateExt:i using udp
[ERROR]expecting protocol 1 9 0, but the device we are connecting to has protocol version 1 5 1
[ERROR] please update YARP or the remotecontrolboard implementation
[ERROR]checkProtocolVersion failed
yarp: Removing output from /bodyExecution/teo/leftArm/rpc:o to /teo/leftArm/rpc:i
yarp: Removing output from /bodyExecution/teo/leftArm/command:o to /teo/leftArm/command:i
yarp: Removing input from /teo/leftArm/stateExt:o to /bodyExecution/teo/leftArm/stateExt:i
yarpdev: ***ERROR*** driver <remote_controlboard> was found but could not open
robot leftArm device not available.
[INFO]RFModule failed to open. maybe the problem is the yarp version installed on teo-manipulation (YARP 2.3.68) I am trying to update the yarp version but I found this issue |
Looks like pre-2.3.70 YARP was using protocol version 1.5.1 (all the way down to YARP 2.3.65). You should install YARP 2.3.70+ on both ends: the PC you are running the presentation app on and the robot itself (teo-manipulation). |
That's correct... WIP in #24, now called "Updating recommended version of YARP for Debian 6.0". |
Blocked by #24 and therefore roboticslab-uc3m/yarp-devices#118. |
unblocked by #24 |
no more |
@rsantos88 I think it's actually a good practice to set an initial control mode prior to using the remote controlboard. You can't be sure how did previous executions end (perhaps velocity or torque mode). |
|
This is,
And similar should not be simply erased, but instead become something more like:
|
Ok, so I understand that now we should use |
Yes, precisely! |
I've never noticed the |
I've updated teo-self-presentation using the new interfaces as we have commented here. |
Further improvements on current |
Pull request for this improvements here |
Perfect! Merged!! |
There are some yarp functions used in some aplications like follow-me or teo-self-presentation that are deprecated (maybe because we had a old yarp version installed).
Doing a clean installation and following the yarp instructions, we can see this error when we try to install teo-self-presentation:
This can be the last changes of YARP 2.3.70:
so, we can continue using the same YARP version for Debian 6.0.10 in Ubuntu systems... what do you think?
The text was updated successfully, but these errors were encountered: