|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_IENCODERS_H
10 #define YARP_DEV_IENCODERS_H
220 #endif // YARP_DEV_IENCODERS_H
virtual bool setEncoderRaw(int j, double val)=0
Set the value of the encoder for a given joint.
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
virtual bool getEncoderAccelerationRaw(int j, double *spds)=0
Read the instantaneous acceleration of an axis.
constexpr yarp::conf::vocab32_t VOCAB_ENCODER_SPEEDS
constexpr yarp::conf::vocab32_t VOCAB_ENCODER_ACCELERATIONS
virtual ~IEncoders()
Destructor.
Control board, encoder interface.
constexpr yarp::conf::vocab32_t VOCAB_ENCODER
virtual bool setEncoders(const double *vals)=0
Set the value of all encoders.
constexpr yarp::conf::vocab32_t VOCAB_E_RESET
virtual bool getEncoderAccelerationsRaw(double *accs)=0
Read the instantaneous acceleration of all axes.
virtual bool getAxes(int *ax)=0
Get the number of controlled axes.
constexpr yarp::conf::vocab32_t VOCAB_ENCODER_SPEED
virtual bool getEncoderSpeedsRaw(double *spds)=0
Read the instantaneous acceleration of an axis.
Control board, encoder interface.
virtual bool resetEncoder(int j)=0
Reset encoder, single joint.
virtual bool getEncodersRaw(double *encs)=0
Read the position of all axes.
virtual bool getEncoderAcceleration(int j, double *spds)=0
Read the instantaneous acceleration of an axis.
virtual ~IEncodersRaw()
Destructor.
constexpr yarp::conf::vocab32_t VOCAB_ENCODER_ACCELERATION
virtual bool getEncoderRaw(int j, double *v)=0
Read the value of an encoder.
constexpr yarp::conf::vocab32_t VOCAB_ENCODERS
virtual bool getEncoderAccelerations(double *accs)=0
Read the instantaneous acceleration of all axes.
virtual bool getAxes(int *ax)=0
Get the number of controlled axes.
virtual bool resetEncodersRaw()=0
Reset encoders.
virtual bool setEncodersRaw(const double *vals)=0
Set the value of all encoders.
virtual bool getEncoderSpeedRaw(int j, double *sp)=0
Read the instantaneous speed of an axis.
virtual bool getEncoder(int j, double *v)=0
Read the value of an encoder.
constexpr yarp::conf::vocab32_t VOCAB_E_RESETS
virtual bool resetEncoderRaw(int j)=0
Reset encoder, single joint.
The main, catch-all namespace for YARP.
virtual bool setEncoder(int j, double val)=0
Set the value of the encoder for a given joint.
virtual bool getEncoderSpeeds(double *spds)=0
Read the instantaneous speed of all axes.
virtual bool getEncoderSpeed(int j, double *sp)=0
Read the istantaneous speed of an axis.
virtual bool resetEncoders()=0
Reset encoders.
virtual bool getEncoders(double *encs)=0
Read the position of all axes.