|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_IPOSITIONDIRECT_H
11 #define YARP_IPOSITIONDIRECT_H
18 class IPositionDirect;
19 class IPositionDirectRaw;
65 virtual bool setPositions(
const int n_joint,
const int *joints,
const double *refs)=0;
104 virtual bool getRefPositions(
const int n_joint,
const int *joints,
double *refs) {
return false;}
149 virtual bool setPositionsRaw(
const int n_joint,
const int *joints,
const double *refs)=0;
197 #endif // YARP_IPOSITIONDIRECT_H
virtual bool setPositionsRaw(const int n_joint, const int *joints, const double *refs)=0
Set new reference point for all axes.
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
virtual bool setPositions(const int n_joint, const int *joints, const double *refs)=0
Set new reference point for all axes.
constexpr yarp::conf::vocab32_t VOCAB_POSITION_DIRECTS
virtual bool setPosition(int j, double ref)=0
Set new position for a single axis.
virtual bool getRefPositionsRaw(const int n_joint, const int *joints, double *refs)
Get the last position reference for the specified group of axes.
virtual bool getRefPositionRaw(const int joint, double *ref)
Get the last position reference for the specified axis.
virtual bool setPositionRaw(int j, double ref)=0
Set new position for a single axis.
Interface for a generic control board device implementing position control in encoder coordinates.
constexpr yarp::conf::vocab32_t VOCAB_POSITION_DIRECT
virtual bool getRefPositions(double *refs)
Get the last position reference for all axes.
virtual bool getRefPositions(const int n_joint, const int *joints, double *refs)
Get the last position reference for the specified group of axes.
virtual bool getRefPositionsRaw(double *refs)
Get the last position reference for all axes.
virtual ~IPositionDirectRaw()
Destructor.
Interface for a generic control board device implementing position control.
The main, catch-all namespace for YARP.
virtual bool getAxes(int *ax)=0
Get the number of controlled axes.
virtual ~IPositionDirect()
Destructor.
virtual bool setPositions(const double *refs)=0
Set new position for a set of axis.
virtual bool getRefPosition(const int joint, double *ref)
Get the last position reference for the specified axis.
virtual bool setPositionsRaw(const double *refs)=0
Set new position for a set of axes.
virtual bool getAxes(int *axes)=0
Get the number of controlled axes.
constexpr yarp::conf::vocab32_t VOCAB_POSITION_DIRECT_GROUP