Control board, extend encoder interface with timestamps. More...
#include <yarp/dev/IEncodersTimed.h>
Public Member Functions | |
virtual | ~IEncodersTimed () |
Destructor. More... | |
virtual bool | getEncodersTimed (double *encs, double *time)=0 |
Read the instantaneous acceleration of all axes. More... | |
virtual bool | getEncoderTimed (int j, double *encs, double *time)=0 |
Read the instantaneous acceleration of all axes. More... | |
Public Member Functions inherited from yarp::dev::IEncoders | |
virtual | ~IEncoders () |
Destructor. More... | |
virtual bool | getAxes (int *ax)=0 |
Get the number of controlled axes. More... | |
virtual bool | resetEncoder (int j)=0 |
Reset encoder, single joint. More... | |
virtual bool | resetEncoders ()=0 |
Reset encoders. More... | |
virtual bool | setEncoder (int j, double val)=0 |
Set the value of the encoder for a given joint. More... | |
virtual bool | setEncoders (const double *vals)=0 |
Set the value of all encoders. More... | |
virtual bool | getEncoder (int j, double *v)=0 |
Read the value of an encoder. More... | |
virtual bool | getEncoders (double *encs)=0 |
Read the position of all axes. More... | |
virtual bool | getEncoderSpeed (int j, double *sp)=0 |
Read the istantaneous speed of an axis. More... | |
virtual bool | getEncoderSpeeds (double *spds)=0 |
Read the instantaneous speed of all axes. More... | |
virtual bool | getEncoderAcceleration (int j, double *spds)=0 |
Read the instantaneous acceleration of an axis. More... | |
virtual bool | getEncoderAccelerations (double *accs)=0 |
Read the instantaneous acceleration of all axes. More... | |
Control board, extend encoder interface with timestamps.
Definition at line 58 of file IEncodersTimed.h.
|
inlinevirtual |
Destructor.
Definition at line 64 of file IEncodersTimed.h.
|
pure virtual |
Read the instantaneous acceleration of all axes.
encs | pointer to the array that will contain the output |
time | pointer to the array that will contain individual timestamps |
Implemented in RemoteControlBoard, yarp::dev::ImplementEncodersTimed, FakeMotor, FakeBot, ControlBoardWrapperEncodersTimed, and ControlBoardRemapper.
|
pure virtual |
Read the instantaneous acceleration of all axes.
j | axis index |
encs | encoder value (pointer to) |
time | corresponding timestamp (pointer to) |
Implemented in yarp::dev::ImplementEncodersTimed, RemoteControlBoard, ControlBoardWrapperEncodersTimed, ControlBoardRemapper, FakeMotor, and FakeBot.