yarp::dev::ControlBoardHelper * castToMapper(void *p)
void accE2A(double enc, int j, double &ang, int &k)
void velE2A(double enc, int j, double &ang, int &k)
void posE2A(double enc, int j, double &ang, int &k)
void posA2E(double ang, int j, double &enc, int &k)
virtual yarp::dev::ReturnValue getEncoderSpeedsRaw(double *spds)=0
Read the instantaneous acceleration of an axis.
virtual yarp::dev::ReturnValue getEncodersRaw(double *encs)=0
Read the position of all axes.
virtual yarp::dev::ReturnValue getEncoderRaw(int j, double *v)=0
Read the value of an encoder.
virtual yarp::dev::ReturnValue setEncoderRaw(int j, double val)=0
Set the value of the encoder for a given joint.
virtual yarp::dev::ReturnValue getEncoderAccelerationsRaw(double *accs)=0
Read the instantaneous acceleration of all axes.
virtual yarp::dev::ReturnValue setEncodersRaw(const double *vals)=0
Set the value of all encoders.
virtual yarp::dev::ReturnValue getEncoderSpeedRaw(int j, double *sp)=0
Read the instantaneous speed of an axis.
virtual yarp::dev::ReturnValue getEncoderAccelerationRaw(int j, double *spds)=0
Read the instantaneous acceleration of an axis.
virtual yarp::dev::ReturnValue resetEncoderRaw(int j)=0
Reset encoder, single joint.
virtual yarp::dev::ReturnValue resetEncodersRaw()=0
Reset encoders.
Control board, extend encoder raw interface adding timestamps.
virtual yarp::dev::ReturnValue getEncoderTimedRaw(int j, double *encs, double *stamp)=0
Read the instantaneous acceleration of all axes.
virtual yarp::dev::ReturnValue getEncodersTimedRaw(double *encs, double *stamps)=0
Read the instantaneous acceleration of all axes.
ImplementEncodersTimed(yarp::dev::IEncodersTimedRaw *y)
std::vector< int > m_buffer_ints
yarp::dev::ReturnValue getEncoders(double *encs) override
Read the position of all axes.
std::vector< double > m_buffer_doubles
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
yarp::dev::ReturnValue getEncoderSpeeds(double *spds) override
Read the instantaneous speed of all axes.
yarp::dev::ReturnValue resetEncoder(int j) override
Reset encoder, single joint.
bool uninitialize()
Clean up internal data and memory.
yarp::dev::ReturnValue getEncoderAcceleration(int j, double *spds) override
Read the instantaneous acceleration of an axis.
yarp::dev::ReturnValue getEncoderAccelerations(double *accs) override
Read the instantaneous acceleration of all axes.
yarp::dev::ReturnValue getEncoderSpeed(int j, double *spds) override
Read the istantaneous speed of an axis.
yarp::dev::ReturnValue setEncoders(const double *vals) override
Set the value of all encoders.
virtual ~ImplementEncodersTimed()
yarp::dev::ReturnValue getEncoderTimed(int j, double *v, double *t) override
Read the instantaneous acceleration of all axes.
yarp::dev::ReturnValue getEncoder(int j, double *v) override
Read the value of an encoder.
std::vector< double > m_buffer_doubles2
yarp::dev::ReturnValue resetEncoders() override
Reset encoders.
IEncodersTimedRaw * m_iraw
yarp::dev::ReturnValue setEncoder(int j, double val) override
Set the value of the encoder for a given joint.
yarp::dev::ReturnValue getEncodersTimed(double *encs, double *time) override
Read the instantaneous acceleration of all axes.
yarp::dev::ReturnValue getAxes(size_t &ax) override
Get the number of controlled axes.
A mini-server for performing network communication in the background.
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.