6#ifndef YARP_DEV_IVELOCITYDIRECT_H
7#define YARP_DEV_IVELOCITYDIRECT_H
16class IVelocityDirectRaw;
constexpr yarp::conf::vocab32_t VOCAB_VELOCITY_DIRECT_SET_ONE
constexpr yarp::conf::vocab32_t VOCAB_VELOCITYDIRECTCONTROL_INTERFACE
constexpr yarp::conf::vocab32_t VOCAB_VELOCITY_DIRECT_SET_GROUP
constexpr yarp::conf::vocab32_t VOCAB_VELOCITY_DIRECT_SET_ALL
Interface for control boards implementing direct velocity control.
virtual yarp::dev::ReturnValue getRefVelocityRaw(std::vector< double > &vels)=0
Get the last reference velocity set by setRefVelocity() for all joints.
virtual yarp::dev::ReturnValue getRefVelocityRaw(const std::vector< int > &jnts, std::vector< double > &vels)=0
Get the last reference velocity set by setRefVelocity() for a group of joints.
virtual yarp::dev::ReturnValue getAxes(size_t &axes)=0
Get the number of controlled axes.
virtual yarp::dev::ReturnValue setRefVelocityRaw(const std::vector< double > &vels)=0
Set the velocity of all joints.
virtual yarp::dev::ReturnValue getRefVelocityRaw(const int jnt, double &vel)=0
Get the last reference velocity set by setRefVelocity() for a single joint.
virtual ~IVelocityDirectRaw()
Destructor.
virtual yarp::dev::ReturnValue setRefVelocityRaw(const std::vector< int > &jnts, const std::vector< double > &vels)=0
Set the velocity of a subset of joints.
virtual yarp::dev::ReturnValue setRefVelocityRaw(int jnt, double vel)=0
Set the velocity of single joint.
Interface for control boards implementing direct velocity control.
virtual yarp::dev::ReturnValue setRefVelocity(const std::vector< int > &jnts, const std::vector< double > &vels)=0
Set the velocity of a subset of joints.
virtual yarp::dev::ReturnValue getRefVelocity(std::vector< double > &vels)=0
Get the last reference velocity set by setRefVelocity() for all joints.
virtual yarp::dev::ReturnValue getRefVelocity(const int jnt, double &vel)=0
Get the last reference velocity set by setRefVelocity() for a single joint.
virtual yarp::dev::ReturnValue setRefVelocity(const std::vector< double > &vels)=0
Set the velocity of all joints.
virtual ~IVelocityDirect()
Destructor.
virtual yarp::dev::ReturnValue setRefVelocity(int jnt, double vel)=0
Set the velocity of single joint.
virtual yarp::dev::ReturnValue getRefVelocity(const std::vector< int > &jnts, std::vector< double > &vels)=0
Get the last reference velocity set by setRefVelocity() for a group of joints.
virtual yarp::dev::ReturnValue getAxes(size_t &axes)=0
Get the number of controlled axes.
For streams capable of holding different kinds of content, check what they actually have.
constexpr yarp::conf::vocab32_t createVocab32(char a, char b=0, char c=0, char d=0)
Create a vocab from chars.
The main, catch-all namespace for YARP.