|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_IMPLEMENTENCODERSTIMED_H
10 #define YARP_DEV_IMPLEMENTENCODERSTIMED_H
16 class ImplementEncodersTimed;
25 class FixedSizeBuffersManager;
47 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos);
81 #endif // YARP_DEV_IMPLEMENTENCODERSTIMED_H
virtual bool getEncodersTimed(double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
virtual bool setEncoders(const double *vals)=0
Set the value of all encoders.
ImplementEncodersTimed(yarp::dev::IEncodersTimedRaw *y)
bool uninitialize()
Clean up internal data and memory.
IEncodersTimedRaw * iEncoders
yarp::dev::impl::FixedSizeBuffersManager< double > * buffManager
virtual bool resetEncoder(int j)=0
Reset encoder, single joint.
virtual ~ImplementEncodersTimed()
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.
Control board, extend encoder raw interface adding timestamps.
virtual bool getEncoder(int j, double *v)=0
Read the value of an encoder.
Control board, extend encoder interface with timestamps.
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.
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
virtual bool getEncoderTimed(int j, double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
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.