Closed PeterBowman closed 7 years ago
:scream::scream::scream:
I'm wondering what happened to yarp::dev::IPositionDirect::setPositionDirectMode()
at YARP's devel
. Since there is no yarp::dev::IControlMode::setPositionDirectMode(int)
counterpart, how are we supposed to set this mode and use the PositionDirect interface?
Looks like a pretty old issue asking for an upstream
label, as it apparently never even made it into the IControlMode.h interface of master
, where there is a VOCAB_CM_POSITION_DIRECT but no actual method.
It would be good for us to recover the method, because it's what we use for the Technosoft IPos driver PT Mode
(driver's modality where we push motor positions into a buffer).
Note to myself: start thinking about dropping old IControlMode
methods in favour of the more generic IControlMode2::(set|get)ControlMode(s)
with vocabs (reference). In fact, this is how we should use now said modes, provided we upgrade our implementations to adopt IControlMode2
.
Note to myself: start thinking about dropping old IControlMode methods in favour of the more generic IControlMode2::(set|get)ControlMode(s) with vocabs (reference).
Example: roboticslab-uc3m/yarp-devices@3c4e80a.
All done but a few deprecated commands used in manip-waiter/programs/manipWaiterExecManip/InCvPort.cpp. I was told not to bother with this (@jgvictores).
Confirming that setPositionMode
et al. will be deprecated soon and eventually removed: robotology/yarp#1223. This is the deployment schedule for the next two releases (per https://github.com/robotology/yarp/projects):
Reminder to self: check with @jmgarciah before anything breaks on https://github.com/roboticslab-uc3m/manip-waiter
Several long-time deprecated methods will get deleted with the next YARP release (2.3.70). Some of these include (current deprecation list):
yarp::dev::IPositionControl::setPositionMode()
yarp::dev::IPositionControlRaw::setPositionModeRaw()
yarp::dev::IPositionDirect::setPositionDirectMode()
yarp::dev::IPositionDirectRaw::setPositionDirectModeRaw()
yarp::dev::ITorqueControl::setTorqueMode()
yarp::dev::ITorqueControlRaw::setTorqueModeRaw()
yarp::dev::IVelocityControl::setVelocityMode()
yarp::dev::IVelocityControlRaw::setVelocityModeRaw()
Said methods were migrated upstream to the
yarp::dev::IControlMode
interface (docs). Apart from that, theyarp::dev::IOpenLoopControl
interface and its companionyarp::dev::IOpenLoopControlRaw
have been removed at robotology/yarp@73c65b2. Affected repositories:manip-waiter(see comments)