|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERPOSITIONCONTROL_H
10 #define YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERPOSITIONCONTROL_H
28 bool positionMove(
const int n_joints,
const int* joints,
const double* refs)
override;
34 bool relativeMove(
const int n_joints,
const int* joints,
const double* deltas)
override;
37 bool checkMotionDone(
const int n_joints,
const int* joints,
bool* flags)
override;
40 bool setRefSpeeds(
const int n_joints,
const int* joints,
const double* spds)
override;
46 bool getRefSpeeds(
const int n_joints,
const int* joints,
double* spds)
override;
55 #endif // YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERPOSITIONCONTROL_H
bool setRefAccelerations(const int n_joints, const int *joints, const double *accs) override
Set reference acceleration on all joints.
bool getRefAccelerations(double *accs) override
Get reference acceleration of all joints.
bool getTargetPosition(const int joint, double *ref) override
Get the last position reference for the specified axis.
bool positionMove(int j, double ref) override
Set new reference point for a single axis.
bool setRefAcceleration(int j, double acc) override
Set reference acceleration for a joint.
bool getRefAccelerations(const int n_joints, const int *joints, double *accs) override
Get reference acceleration for a joint.
bool stop(const int n_joints, const int *joints) override
Stop motion for subset of joints.
bool setRefSpeed(int j, double sp) override
Set reference speed for a joint, this is the speed used during the interpolation of the trajectory.
bool getRefAcceleration(int j, double *acc)
bool getTargetPositions(double *refs) override
Get the last position reference for all axes.
bool setRefAccelerations(const double *accs) override
Set reference acceleration on all joints.
bool getRefSpeed(int j, double *ref) override
Get reference speed for a joint.
bool stop() override
Stop motion, multiple joints.
bool getAxes(int *ax) override
Get the number of controlled axes.
bool getRefAcceleration(int j, double *acc) override
Get reference acceleration for a joint.
bool getRefSpeeds(double *spds) override
Get reference speed of all joints.
bool stop(int j) override
Stop motion, single joint.
bool setRefSpeeds(const double *spds) override
Set reference speed on all joints.
bool setRefAcceleration(int j, double acc)
bool relativeMove(int j, double delta) override
Set relative position.
bool setRefAccelerations(const double *accs)
bool getRefAccelerations(double *accs)
Interface for a generic control board device implementing position control.
bool checkMotionDone(int j, bool *flag) override
Check if the current trajectory is terminated.