YARP
Yet Another Robot Platform
yarp::dev::IEncodersTimedRaw Class Referenceabstract

Control board, extend encoder raw interface adding timestamps. More...

#include <yarp/dev/IEncodersTimed.h>

+ Inheritance diagram for yarp::dev::IEncodersTimedRaw:

Public Member Functions

virtual ~IEncodersTimedRaw ()
 Destructor. More...
 
virtual bool getEncodersTimedRaw (double *encs, double *stamps)=0
 Read the instantaneous acceleration of all axes. More...
 
virtual bool getEncoderTimedRaw (int j, double *encs, double *stamp)=0
 Read the instantaneous acceleration of all axes. More...
 
- Public Member Functions inherited from yarp::dev::IEncodersRaw
virtual ~IEncodersRaw ()
 Destructor. More...
 
virtual bool getAxes (int *ax)=0
 Get the number of controlled axes. More...
 
virtual bool resetEncoderRaw (int j)=0
 Reset encoder, single joint. More...
 
virtual bool resetEncodersRaw ()=0
 Reset encoders. More...
 
virtual bool setEncoderRaw (int j, double val)=0
 Set the value of the encoder for a given joint. More...
 
virtual bool setEncodersRaw (const double *vals)=0
 Set the value of all encoders. More...
 
virtual bool getEncoderRaw (int j, double *v)=0
 Read the value of an encoder. More...
 
virtual bool getEncodersRaw (double *encs)=0
 Read the position of all axes. More...
 
virtual bool getEncoderSpeedRaw (int j, double *sp)=0
 Read the instantaneous speed of an axis. More...
 
virtual bool getEncoderSpeedsRaw (double *spds)=0
 Read the instantaneous acceleration of an axis. More...
 
virtual bool getEncoderAccelerationRaw (int j, double *spds)=0
 Read the instantaneous acceleration of an axis. More...
 
virtual bool getEncoderAccelerationsRaw (double *accs)=0
 Read the instantaneous acceleration of all axes. More...
 

Detailed Description

Control board, extend encoder raw interface adding timestamps.

Definition at line 27 of file IEncodersTimed.h.

Constructor & Destructor Documentation

◆ ~IEncodersTimedRaw()

virtual yarp::dev::IEncodersTimedRaw::~IEncodersTimedRaw ( )
inlinevirtual

Destructor.

Definition at line 33 of file IEncodersTimed.h.

Member Function Documentation

◆ getEncodersTimedRaw()

virtual bool yarp::dev::IEncodersTimedRaw::getEncodersTimedRaw ( double *  encs,
double *  stamps 
)
pure virtual

Read the instantaneous acceleration of all axes.

Parameters
encspointer to the array that will contain the output
stampspointer to the array that will contain individual timestamps
Returns
return true if all goes well, false if anything bad happens.

Implemented in FakeMotionControl.

◆ getEncoderTimedRaw()

virtual bool yarp::dev::IEncodersTimedRaw::getEncoderTimedRaw ( int  j,
double *  encs,
double *  stamp 
)
pure virtual

Read the instantaneous acceleration of all axes.

Parameters
jaxis index
encsencoder value
stampcorresponding timestamp
Returns
true if all goes well, false if anything bad happens.

Implemented in FakeMotionControl.


The documentation for this class was generated from the following file: