YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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.
 
virtual yarp::dev::ReturnValue getEncodersTimedRaw (double *encs, double *stamps)=0
 Read the instantaneous acceleration of all axes.
 
virtual yarp::dev::ReturnValue getEncoderTimedRaw (int j, double *encs, double *stamp)=0
 Read the instantaneous acceleration of all axes.
 
- Public Member Functions inherited from yarp::dev::IEncodersRaw
virtual ~IEncodersRaw ()
 Destructor.
 
virtual yarp::dev::ReturnValue getAxes (size_t &ax)=0
 Get the number of controlled axes.
 
virtual yarp::dev::ReturnValue resetEncoderRaw (int j)=0
 Reset encoder, single joint.
 
virtual yarp::dev::ReturnValue resetEncodersRaw ()=0
 Reset encoders.
 
virtual yarp::dev::ReturnValue setEncoderRaw (int j, double val)=0
 Set the value of the encoder for a given joint.
 
virtual yarp::dev::ReturnValue setEncodersRaw (const double *vals)=0
 Set the value of all encoders.
 
virtual yarp::dev::ReturnValue getEncoderRaw (int j, double *v)=0
 Read the value of an encoder.
 
virtual yarp::dev::ReturnValue getEncodersRaw (double *encs)=0
 Read the position of all axes.
 
virtual yarp::dev::ReturnValue getEncoderSpeedRaw (int j, double *sp)=0
 Read the instantaneous speed of an axis.
 
virtual yarp::dev::ReturnValue getEncoderSpeedsRaw (double *spds)=0
 Read the instantaneous acceleration of an axis.
 
virtual yarp::dev::ReturnValue getEncoderAccelerationRaw (int j, double *spds)=0
 Read the instantaneous acceleration of an axis.
 
virtual yarp::dev::ReturnValue getEncoderAccelerationsRaw (double *accs)=0
 Read the instantaneous acceleration of all axes.
 

Detailed Description

Control board, extend encoder raw interface adding timestamps.

Definition at line 22 of file IEncodersTimed.h.

Constructor & Destructor Documentation

◆ ~IEncodersTimedRaw()

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

Destructor.

Definition at line 28 of file IEncodersTimed.h.

Member Function Documentation

◆ getEncodersTimedRaw()

virtual yarp::dev::ReturnValue 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 FakeLaserWithMotor, FakeMotionControl, and FakeMotionControlMicro.

◆ getEncoderTimedRaw()

virtual yarp::dev::ReturnValue 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 FakeLaserWithMotor, FakeMotionControl, and FakeMotionControlMicro.


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