6#ifndef YARP_IPOSITIONDIRECTIMPL_H
7#define YARP_IPOSITIONDIRECTIMPL_H
13class ImplementPositionDirect;
14class StubImplPositionDirectRaw;
20class FixedSizeBuffersManager;
46 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos);
67 bool getAxes(
int *axes)
override;
69 bool setPositions(
const int n_joint,
const int *joints,
const double *refs)
override;
73 bool getRefPositions(
const int n_joint,
const int *joints,
double *refs)
override;
109 bool setPositions(
const int n_joint,
const int *joints,
const double *refs)
override
bool NOT_YET_IMPLEMENTED(const char *txt)
Interface for a generic control board device implementing position control in encoder coordinates.
Interface for a generic control board device implementing position control.
Default implementation of the IPositionDirect interface.
bool getRefPositions(double *refs) override
Get the last position reference for all axes.
virtual ~ImplementPositionDirect()
Destructor.
IPositionDirectRaw * iPDirect
bool setPositions(const int n_joint, const int *joints, const double *refs) override
Set new reference point for all axes.
bool getAxes(int *axes) override
Get the number of controlled axes.
bool uninitialize()
Clean up internal data and memory.
yarp::dev::impl::FixedSizeBuffersManager< double > * doubleBuffManager
bool setPosition(int j, double ref) override
Set new position for a single axis.
bool getRefPosition(const int joint, double *ref) override
Get the last position reference for the specified axis.
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
yarp::dev::impl::FixedSizeBuffersManager< int > * intBuffManager
Stub implementation of IPositionControl2Raw interface.
bool setPosition(int j, double ref) override
Set new position for a single axis.
virtual ~StubImplPositionDirectRaw()
bool setPositions(const int n_joint, const int *joints, const double *refs) override
Set new reference point for all axes.
bool getAxes(int *axis) override
Get the number of controlled axes.
bool setPositions(const double *refs) override
Set new position for a set of axis.
A manager of fixed size buffers in multi-thread environment.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.