|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_DEV_IVELOCITYCONTROL_H
11 #define YARP_DEV_IVELOCITYCONTROL_H
18 class IVelocityControl;
19 class IVelocityControlRaw;
107 virtual bool velocityMoveRaw(
const int n_joint,
const int *joints,
const double *spds)=0;
151 virtual bool stopRaw(
const int n_joint,
const int *joints)=0;
242 virtual bool velocityMove(
const int n_joint,
const int *joints,
const double *spds)=0;
264 virtual bool getRefVelocities(
const int n_joint,
const int *joints,
double *vels) {
return false;}
299 virtual bool stop(
const int n_joint,
const int *joints)=0;
306 #endif // YARP_DEV_IVELOCITYCONTROL_H
virtual bool stop(int j)=0
Stop motion, single joint.
virtual bool stop(const int n_joint, const int *joints)=0
Stop motion for a subset of joints.
virtual bool velocityMove(int j, double sp)=0
Start motion at a given speed, single joint.
virtual bool getRefVelocitiesRaw(double *vels)
Get the last reference speed set by velocityMove for all joints.
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
virtual bool setRefAccelerationRaw(int j, double acc)=0
Set reference acceleration for a joint.
virtual ~IVelocityControl()
Destructor.
virtual bool getRefVelocities(double *vels)
Get the last reference speed set by velocityMove for all joints.
virtual bool stop()=0
Stop motion, multiple joints.
virtual bool setRefAccelerations(const int n_joint, const int *joints, const double *accs)=0
Set reference acceleration for a subset of joints.
virtual ~IVelocityControlRaw()
Destructor.
virtual bool setRefAcceleration(int j, double acc)=0
Set reference acceleration for a joint.
virtual bool stopRaw()=0
Stop motion, multiple joints.
virtual bool velocityMoveRaw(const double *sp)=0
Start motion at a given speed, multiple joints.
virtual bool getRefVelocity(const int joint, double *vel)
Get the last reference speed set by velocityMove for single joint.
virtual bool getRefAccelerationsRaw(const int n_joint, const int *joints, double *accs)=0
Get reference acceleration for a subset of joints.
virtual bool getRefAcceleration(int j, double *acc)=0
Get reference acceleration for a joint.
virtual bool stopRaw(const int n_joint, const int *joints)=0
Stop motion for a subset of joints.
virtual bool getAxes(int *axis)=0
Get the number of controlled axes.
constexpr yarp::conf::vocab32_t VOCAB_VEL_PID
virtual bool velocityMove(const int n_joint, const int *joints, const double *spds)=0
Start motion at a given speed for a subset of joints.
virtual bool getRefVelocityRaw(const int joint, double *vel)
Get the last reference speed set by velocityMove for single joint.
virtual bool getRefAccelerations(double *accs)=0
Get reference acceleration of all joints.
virtual bool stopRaw(int j)=0
Stop motion, single joint.
virtual bool setRefAccelerations(const double *accs)=0
Set reference acceleration on all joints.
virtual bool getRefAccelerationsRaw(double *accs)=0
Get reference acceleration of all joints.
Interface for control boards implementing velocity control.
virtual bool velocityMoveRaw(const int n_joint, const int *joints, const double *spds)=0
Start motion at a given speed for a subset of joints.
virtual bool getAxes(int *axes)=0
Get the number of controlled axes.
constexpr yarp::conf::vocab32_t VOCAB_VEL_PIDS
virtual bool getRefAccelerationRaw(int j, double *acc)=0
Get reference acceleration for a joint.
virtual bool velocityMoveRaw(int j, double sp)=0
Start motion at a given speed, single joint.
The main, catch-all namespace for YARP.
virtual bool velocityMove(const double *sp)=0
Start motion at a given speed, multiple joints.
virtual bool getRefVelocitiesRaw(const int n_joint, const int *joints, double *vels)
Get the last reference speed set by velocityMove for a group of joints.
virtual bool getRefVelocities(const int n_joint, const int *joints, double *vels)
Get the last reference speed set by velocityMove for a group of joints.
virtual bool setRefAccelerationsRaw(const double *accs)=0
Set reference acceleration on all joints.
virtual bool getRefAccelerations(const int n_joint, const int *joints, double *accs)=0
Get reference acceleration for a subset of joints.
Interface for control boards implementig velocity control in encoder coordinates.
constexpr yarp::conf::vocab32_t VOCAB_VELOCITY_MOVE_GROUP
virtual bool setRefAccelerationsRaw(const int n_joint, const int *joints, const double *accs)=0
Set reference acceleration for a subset of joints.