6#ifndef YARP_DEV_IVELOCITYCONTROLIMPL_H
7#define YARP_DEV_IVELOCITYCONTROLIMPL_H
15class ImplementVelocityControl;
16class StubImplVelocityControlRaw;
22class FixedSizeBuffersManager;
30 void* m_helper=
nullptr;
44 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos);
#define YARP_METHOD_NOT_YET_IMPLEMENTED()
Interface for control boards implementing velocity control in encoder coordinates.
Interface for control boards implementing velocity control.
yarp::dev::ReturnValue getTargetVelocity(const int joint, double *vel) override
Get the last reference speed set by velocityMove for single joint.
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.
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.
Stub implementation of IPositionControl2Raw interface.
yarp::dev::ReturnValue getTrajAccelerationsRaw(const int n_joint, const int *joints, double *accs) override
Get reference acceleration for a subset of joints.
yarp::dev::ReturnValue setTrajAccelerationsRaw(const double *accs) override
Set reference acceleration on all joints.
yarp::dev::ReturnValue getAxes(size_t &axes) override
Get the number of controlled axes.
yarp::dev::ReturnValue getTargetVelocitiesRaw(double *vels) override
Get the last reference speed set by velocityMove for all joints.
yarp::dev::ReturnValue velocityMoveRaw(const int n_joint, const int *joints, const double *spds) override
Start motion at a given speed for a subset of joints.
yarp::dev::ReturnValue setTrajAccelerationsRaw(const int n_joint, const int *joints, const double *accs) override
Set reference acceleration for a subset of joints.
yarp::dev::ReturnValue getTargetVelocitiesRaw(const int n_joint, const int *joints, double *vels) override
Get the last reference speed set by velocityMove for a group of joints.
yarp::dev::ReturnValue stopRaw() override
Stop motion, multiple joints.
yarp::dev::ReturnValue stopRaw(const int n_joint, const int *joints) override
Stop motion for a subset of joints.
yarp::dev::ReturnValue velocityMoveRaw(const double *sp) override
Start motion at a given speed, multiple joints.
yarp::dev::ReturnValue velocityMoveRaw(int j, double sp) override
Start motion at a given speed, single joint.
yarp::dev::ReturnValue getTrajAccelerationRaw(int j, double *acc) override
Get reference acceleration for a joint.
yarp::dev::ReturnValue getTrajAccelerationsRaw(double *accs) override
Get reference acceleration of all joints.
yarp::dev::ReturnValue setTrajAccelerationRaw(int j, double acc) override
Set reference acceleration for a joint.
yarp::dev::ReturnValue stopRaw(int j) override
Stop motion, single joint.
yarp::dev::ReturnValue getTargetVelocityRaw(const int joint, double *vel) override
Get the last reference speed set by velocityMove for single joint.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.