6#ifndef YARP_DEV_IMPLEMENTENCODERSTIMED_H
7#define YARP_DEV_IMPLEMENTENCODERSTIMED_H
12class ImplementEncodersTimed;
18class FixedSizeBuffersManager;
38 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos);
Control board, extend encoder raw interface adding timestamps.
Control board, extend encoder interface with timestamps.
bool getEncoder(int j, double *v) override
Read the value of an encoder.
bool getEncoderSpeed(int j, double *spds) override
Read the istantaneous speed of an axis.
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
bool getEncoderAcceleration(int j, double *spds) override
Read the instantaneous acceleration of an axis.
bool uninitialize()
Clean up internal data and memory.
bool setEncoders(const double *vals) override
Set the value of all encoders.
bool resetEncoders() override
Reset encoders.
bool setEncoder(int j, double val) override
Set the value of the encoder for a given joint.
bool getEncoderAccelerations(double *accs) override
Read the instantaneous acceleration of all axes.
virtual ~ImplementEncodersTimed()
bool getEncoderTimed(int j, double *v, double *t) override
Read the instantaneous acceleration of all axes.
IEncodersTimedRaw * iEncoders
bool resetEncoder(int j) override
Reset encoder, single joint.
bool getEncodersTimed(double *encs, double *time) override
Read the instantaneous acceleration of all axes.
yarp::dev::impl::FixedSizeBuffersManager< double > * buffManager
bool getEncoders(double *encs) override
Read the position of all axes.
bool getAxes(int *ax) override
Get the number of controlled axes.
bool getEncoderSpeeds(double *spds) override
Read the instantaneous speed of all axes.
A manager of fixed size buffers in multi-thread environment.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.