|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_IPOSITIONDIRECTIMPL_H
10 #define YARP_IPOSITIONDIRECTIMPL_H
17 class ImplementPositionDirect;
18 class StubImplPositionDirectRaw;
27 class FixedSizeBuffersManager;
55 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos);
76 bool getAxes(
int *axes)
override;
78 bool setPositions(
const int n_joint,
const int *joints,
const double *refs)
override;
82 bool getRefPositions(
const int n_joint,
const int *joints,
double *refs)
override;
118 bool setPositions(
const int n_joint,
const int *joints,
const double *refs)
override
125 #endif // YARP_IPOSITIONDIRECTIMPL_H
virtual ~ImplementPositionDirect()
Destructor.
Stub implementation of IPositionControl2Raw interface.
virtual ~StubImplPositionDirectRaw()
bool setPosition(int j, double ref) override
Set new position for a single axis.
IPositionDirectRaw * iPDirect
bool setPositions(const int n_joint, const int *joints, const double *refs) override
Set new reference point for all axes.
bool setPositions(const int n_joint, const int *joints, const double *refs) override
Set new reference point for all axes.
bool NOT_YET_IMPLEMENTED(const char *txt)
bool getAxes(int *axis) override
Get the number of controlled axes.
bool getRefPositions(double *refs) override
Get the last position reference for all axes.
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.
Interface for a generic control board device implementing position control in encoder coordinates.
yarp::dev::impl::FixedSizeBuffersManager< int > * intBuffManager
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
bool setPositions(const double *refs) override
Set new position for a set of axis.
Interface for a generic control board device implementing position control.
yarp::dev::impl::FixedSizeBuffersManager< double > * doubleBuffManager
The main, catch-all namespace for YARP.
bool getAxes(int *axes) override
Get the number of controlled axes.
Default implementation of the IPositionDirect interface.
bool uninitialize()
Clean up internal data and memory.
ImplementPositionDirect(yarp::dev::IPositionDirectRaw *y)
Constructor.