Interface for control boards implementig velocity control in encoder coordinates. More...
#include <yarp/dev/IVelocityControl.h>
Public Member Functions | |
virtual | ~IVelocityControlRaw () |
Destructor. More... | |
virtual bool | getAxes (int *axis)=0 |
Get the number of controlled axes. More... | |
virtual bool | velocityMoveRaw (int j, double sp)=0 |
Start motion at a given speed, single joint. More... | |
virtual bool | velocityMoveRaw (const double *sp)=0 |
Start motion at a given speed, multiple joints. More... | |
virtual bool | setRefAccelerationRaw (int j, double acc)=0 |
Set reference acceleration for a joint. More... | |
virtual bool | setRefAccelerationsRaw (const double *accs)=0 |
Set reference acceleration on all joints. More... | |
virtual bool | getRefAccelerationRaw (int j, double *acc)=0 |
Get reference acceleration for a joint. More... | |
virtual bool | getRefAccelerationsRaw (double *accs)=0 |
Get reference acceleration of all joints. More... | |
virtual bool | stopRaw (int j)=0 |
Stop motion, single joint. More... | |
virtual bool | stopRaw ()=0 |
Stop motion, multiple joints. More... | |
virtual bool | velocityMoveRaw (const int n_joint, const int *joints, const double *spds)=0 |
Start motion at a given speed for a subset of joints. More... | |
virtual bool | getRefVelocityRaw (const int joint, double *vel) |
Get the last reference speed set by velocityMove for single joint. More... | |
virtual bool | getRefVelocitiesRaw (double *vels) |
Get the last reference speed set by velocityMove for all joints. More... | |
virtual bool | getRefVelocitiesRaw (const int n_joint, const int *joints, double *vels) |
Get the last reference speed set by velocityMove for a group of joints. More... | |
virtual bool | setRefAccelerationsRaw (const int n_joint, const int *joints, const double *accs)=0 |
Set reference acceleration for a subset of joints. More... | |
virtual bool | getRefAccelerationsRaw (const int n_joint, const int *joints, double *accs)=0 |
Get reference acceleration for a subset of joints. More... | |
virtual bool | stopRaw (const int n_joint, const int *joints)=0 |
Stop motion for a subset of joints. More... | |
Interface for control boards implementig velocity control in encoder coordinates.
Definition at line 28 of file IVelocityControl.h.
|
inlinevirtual |
Destructor.
Definition at line 34 of file IVelocityControl.h.
|
pure virtual |
Get the number of controlled axes.
This command asks the number of controlled axes for the current physical interface.
axis | pointer to storage, return value |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
pure virtual |
Get reference acceleration for a joint.
Returns the acceleration used to generate the trajectory profile.
j | joint number |
acc | pointer to storage for the return value |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
pure virtual |
Get reference acceleration for a subset of joints.
These are the values used during the interpolation of the trajectory.
joints | pointer to the array of joint numbers |
accs | pointer to the array that will store the acceleration values. |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
pure virtual |
Get reference acceleration of all joints.
These are the values used during the interpolation of the trajectory.
accs | pointer to the array that will store the acceleration values. |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
inlinevirtual |
Get the last reference speed set by velocityMove for a group of joints.
n_joint | how many joints this command is referring to |
joints | of joints controlled. The size of this array is n_joints |
vels | pointer to the array containing the requested values, one value for each joint. The size of the array is n_joints. |
Reimplemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
Definition at line 129 of file IVelocityControl.h.
|
inlinevirtual |
Get the last reference speed set by velocityMove for all joints.
vels | pointer to the array containing the new speed values, one value for each joint |
Reimplemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
Definition at line 120 of file IVelocityControl.h.
|
inlinevirtual |
Get the last reference speed set by velocityMove for single joint.
j | joint number |
vel | returns the requested reference. |
Reimplemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
Definition at line 114 of file IVelocityControl.h.
|
pure virtual |
Set reference acceleration for a joint.
This value is used during the trajectory generation.
j | joint number |
acc | acceleration value |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
pure virtual |
Set reference acceleration on all joints.
This is the valure that is used during the generation of the trajectory.
accs | pointer to the array of acceleration values |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
pure virtual |
Set reference acceleration for a subset of joints.
This is the valure that is used during the generation of the trajectory.
joints | pointer to the array of joint numbers |
accs | pointer to the array containing acceleration values |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
pure virtual |
Stop motion, multiple joints.
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
pure virtual |
Stop motion for a subset of joints.
joints | pointer to the array of joint numbers |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
pure virtual |
Stop motion, single joint.
j | joint number |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
pure virtual |
Start motion at a given speed, multiple joints.
sp | pointer to the array containing the new speed values |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
pure virtual |
Start motion at a given speed for a subset of joints.
n_joint | how many joints this command is referring to |
joints | pointer to the array of joint numbers |
spds | pointer to the array containing the new speed values |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.
|
pure virtual |
Start motion at a given speed, single joint.
j | joint number |
sp | speed value |
Implemented in yarp::dev::StubImplVelocityControlRaw, and FakeMotionControl.