yarp::dev::ControlBoardHelper * castToMapper(void *p)
void velE2A(double enc, int j, double &ang, int &k)
void velA2E(double ang, int j, double &enc, int &k)
void accA2E_abs(double ang, int j, double &enc, int &k)
void accE2A_abs(double enc, int j, double &ang, int &k)
Interface for control boards implementing velocity control in encoder coordinates.
virtual yarp::dev::ReturnValue setTrajAccelerationsRaw(const double *accs)=0
Set reference acceleration on all joints.
virtual yarp::dev::ReturnValue stopRaw(int j)=0
Stop motion, single joint.
virtual yarp::dev::ReturnValue setTrajAccelerationRaw(int j, double acc)=0
Set reference acceleration for a joint.
virtual yarp::dev::ReturnValue getTargetVelocityRaw(const int joint, double *vel)=0
Get the last reference speed set by velocityMove for single joint.
virtual yarp::dev::ReturnValue getTargetVelocitiesRaw(double *vels)=0
Get the last reference speed set by velocityMove for all joints.
virtual yarp::dev::ReturnValue getTrajAccelerationsRaw(double *accs)=0
Get reference acceleration of all joints.
virtual yarp::dev::ReturnValue getTrajAccelerationRaw(int j, double *acc)=0
Get reference acceleration for a joint.
virtual yarp::dev::ReturnValue velocityMoveRaw(int j, double sp)=0
Start motion at a given speed, single joint.
yarp::dev::ReturnValue getTargetVelocity(const int joint, double *vel) override
Get the last reference speed set by velocityMove for single joint.
ImplementVelocityControl(yarp::dev::IVelocityControlRaw *y)
Constructor.
std::vector< double > m_buffer_doubles
yarp::dev::ReturnValue stop() override
Stop motion, multiple joints.
std::vector< int > m_buffer_ints
virtual ~ImplementVelocityControl()
Destructor.
yarp::dev::ReturnValue getTrajAcceleration(int j, double *acc) override
Get reference acceleration for a joint.
bool uninitialize()
Clean up internal data and memory.
yarp::dev::ReturnValue velocityMove(int j, double sp) override
Start motion at a given speed, single joint.
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
yarp::dev::ReturnValue getAxes(size_t &axes) override
Get the number of controlled axes.
yarp::dev::ReturnValue getTargetVelocities(double *vels) override
Get the last reference speed set by velocityMove for all joints.
IVelocityControlRaw * m_iraw
yarp::dev::ReturnValue setTrajAcceleration(int j, double acc) override
Set reference acceleration for a joint.
yarp::dev::ReturnValue setTrajAccelerations(const double *accs) override
Set reference acceleration on all joints.
yarp::dev::ReturnValue getTrajAccelerations(double *accs) override
Get reference acceleration of all joints.
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.