6#ifndef YARP_DEV_IVELOCITYDIRECTIMPL_H
7#define YARP_DEV_IVELOCITYDIRECTIMPL_H
14class ImplementVelocityDirect;
21 void *m_helper=
nullptr;
34 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos);
Interface for control boards implementing direct velocity control.
Interface for control boards implementing direct velocity control.
yarp::dev::ReturnValue getDesiredVelocity(const int jnt, double &vel) override
Get the last reference velocity set by setDesiredVelocity() for a single joint.
bool uninitialize()
Clean up internal data and memory.
virtual ~ImplementVelocityDirect()
Destructor.
yarp::dev::ReturnValue setDesiredVelocity(int jnt, double vel) override
Set the velocity of single joint.
std::vector< int > m_buffer_ints
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
std::vector< double > m_buffer_doubles
yarp::dev::ReturnValue getAxes(size_t &axes) override
Get the number of controlled axes.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.