6#ifndef YARP_DEV_CONTROLBOARDREMAPPER_CONTROLBOARDREMAPPER_H
7#define YARP_DEV_CONTROLBOARDREMAPPER_CONTROLBOARDREMAPPER_H
25 #pragma warning(disable:4355)
38 yarp::dev::IJointCoupling *iJntCoupling{
nullptr};
58 void configureBuffers();
79 bool close()
override;
119 bool getAxes(
int *ax)
override;
121 bool getAxisName(
int j, std::string &name)
override;
define control board standard interfaces
This class is the parameters parser for class ControlBoardCouplingHandler.
ControlBoardCouplingHandler & operator=(const ControlBoardCouplingHandler &)=delete
bool getEncoderAccelerations(double *accs) override
Read the instantaneous acceleration of all axes.
ControlBoardCouplingHandler(const ControlBoardCouplingHandler &)=delete
bool getEncoderTimed(int j, double *v, double *t) override
Read the instantaneous acceleration of all axes.
ControlBoardCouplingHandler & operator=(ControlBoardCouplingHandler &&)=delete
bool getEncoders(double *encs) override
Read the position of all axes.
bool verbose() const
Return the value of the verbose flag.
bool getEncoder(int j, double *v) override
Read the value of an encoder.
bool setEncoder(int j, double val) override
Set the value of the encoder for a given joint.
bool setEncoders(const double *vals) override
Set the value of all encoders.
bool getAxisName(int j, std::string &name) override
bool attach(yarp::dev::PolyDriver *poly) override
Attach to another object.
bool getEncoderSpeeds(double *spds) override
Read the instantaneous speed of all axes.
bool close() override
Close the device driver by deallocating all resources and closing ports.
bool resetEncoders() override
Reset encoders.
bool detach() override
Detach the object (you must have first called attach).
~ControlBoardCouplingHandler() override=default
bool getEncodersTimed(double *encs, double *t) override
Read the instantaneous acceleration of all axes.
bool getAxes(int *ax) override
Get the number of controlled axes.
ControlBoardCouplingHandler()=default
ControlBoardCouplingHandler(ControlBoardCouplingHandler &&)=delete
bool resetEncoder(int j) override
ControlBoard methods.
bool getEncoderSpeed(int j, double *sp) override
Read the istantaneous speed of an axis.
bool open(yarp::os::Searchable &prop) override
Open the device driver.
bool getEncoderAcceleration(int j, double *acc) override
Read the instantaneous acceleration of an axis.
bool getJointType(int j, yarp::dev::JointTypeEnum &type) override
Interface implemented by all device drivers.
Interface for getting information about specific axes, if available.
Control board, extend encoder interface with timestamps.
A container for a device driver.
Helper interface for an object that can wrap/or "attach" to a single other device.
A base class for nested structures that can be searched.