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;
define control board standard interfaces
This class is the parameters parser for class ControlBoardCouplingHandler.
yarp::dev::ReturnValue getEncoderTimed(int j, double *v, double *t) override
Read the instantaneous acceleration of all axes.
ControlBoardCouplingHandler & operator=(const ControlBoardCouplingHandler &)=delete
yarp::dev::ReturnValue getEncoders(double *encs) override
Read the position of all axes.
ControlBoardCouplingHandler(const ControlBoardCouplingHandler &)=delete
yarp::dev::ReturnValue getEncoder(int j, double *v) override
Read the value of an encoder.
ControlBoardCouplingHandler & operator=(ControlBoardCouplingHandler &&)=delete
yarp::dev::ReturnValue getJointType(int j, yarp::dev::JointTypeEnum &type) override
bool verbose() const
Return the value of the verbose flag.
yarp::dev::ReturnValue setEncoders(const double *vals) override
Set the value of all encoders.
bool attach(yarp::dev::PolyDriver *poly) override
Attach to another object.
bool close() override
Close the device driver by deallocating all resources and closing ports.
yarp::dev::ReturnValue getEncoderAccelerations(double *accs) override
Read the instantaneous acceleration of all axes.
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 *t) override
Read the instantaneous acceleration of all axes.
yarp::dev::ReturnValue getEncoderSpeed(int j, double *sp) override
Read the istantaneous speed of an axis.
yarp::dev::ReturnValue getAxes(size_t &ax) override
Get the number of controlled axes.
yarp::dev::ReturnValue resetEncoders() override
Reset encoders.
bool detach() override
Detach the object (you must have first called attach).
yarp::dev::ReturnValue resetEncoder(int j) override
ControlBoard methods.
~ControlBoardCouplingHandler() override=default
yarp::dev::ReturnValue getAxisName(int j, std::string &name) override
ControlBoardCouplingHandler()=default
ControlBoardCouplingHandler(ControlBoardCouplingHandler &&)=delete
yarp::dev::ReturnValue getEncoderSpeeds(double *spds) override
Read the instantaneous speed of all axes.
yarp::dev::ReturnValue getEncoderAcceleration(int j, double *acc) override
Read the instantaneous acceleration of an axis.
bool open(yarp::os::Searchable &prop) override
Open the device driver.
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.