|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_IMPLEMENTENCODERS_H
10 #define YARP_DEV_IMPLEMENTENCODERS_H
19 class ImplementEncoders;
38 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos);
139 #endif // YARP_DEV_IMPLEMENTENCODERS_H
Control board, encoder interface.
bool uninitialize()
Clean up internal data and memory.
virtual bool setEncoders(const double *vals)=0
Set the value of all encoders.
define control board standard interfaces
ImplementEncoders(yarp::dev::IEncodersRaw *y)
Control board, encoder interface.
virtual bool resetEncoder(int j)=0
Reset encoder, single joint.
virtual bool getEncoderAcceleration(int j, double *spds)=0
Read the instantaneous acceleration of an axis.
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 getEncoder(int j, double *v)=0
Read the value of an encoder.
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 ~ImplementEncoders()
Destructor.
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
virtual bool resetEncoders()=0
Reset encoders.
virtual bool getEncoders(double *encs)=0
Read the position of all axes.