Interface for control boards implementig velocity control in encoder coordinates. More...
#include <yarp/dev/IVelocityControl.h>
Public Member Functions | |
virtual | ~IVelocityControlRaw () |
Destructor. | |
virtual bool | getAxes (int *axis)=0 |
Get the number of controlled axes. | |
virtual bool | velocityMoveRaw (int j, double sp)=0 |
Start motion at a given speed, single joint. | |
virtual bool | velocityMoveRaw (const double *sp)=0 |
Start motion at a given speed, multiple joints. | |
virtual bool | setRefAccelerationRaw (int j, double acc)=0 |
Set reference acceleration for a joint. | |
virtual bool | setRefAccelerationsRaw (const double *accs)=0 |
Set reference acceleration on all joints. | |
virtual bool | getRefAccelerationRaw (int j, double *acc)=0 |
Get reference acceleration for a joint. | |
virtual bool | getRefAccelerationsRaw (double *accs)=0 |
Get reference acceleration of all joints. | |
virtual bool | stopRaw (int j)=0 |
Stop motion, single joint. | |
virtual bool | stopRaw ()=0 |
Stop motion, multiple joints. | |
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. | |
virtual bool | getRefVelocityRaw (const int joint, double *vel) |
Get the last reference speed set by velocityMove for single joint. | |
virtual bool | getRefVelocitiesRaw (double *vels) |
Get the last reference speed set by velocityMove for all joints. | |
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. | |
virtual bool | setRefAccelerationsRaw (const int n_joint, const int *joints, const double *accs)=0 |
Set reference acceleration for a subset of joints. | |
virtual bool | getRefAccelerationsRaw (const int n_joint, const int *joints, double *accs)=0 |
Get reference acceleration for a subset of joints. | |
virtual bool | stopRaw (const int n_joint, const int *joints)=0 |
Stop motion for a subset of joints. | |
Interface for control boards implementig velocity control in encoder coordinates.
Definition at line 23 of file IVelocityControl.h.
|
inlinevirtual |
Destructor.
Definition at line 29 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 FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
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 FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
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 FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
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 FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
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 FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
Definition at line 124 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 FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
Definition at line 115 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 FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
Definition at line 109 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 FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
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 FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
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 FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
pure virtual |
Stop motion, multiple joints.
Implemented in FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
pure virtual |
Stop motion for a subset of joints.
joints | pointer to the array of joint numbers |
Implemented in FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
pure virtual |
Stop motion, single joint.
j | joint number |
Implemented in FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
pure virtual |
Start motion at a given speed, multiple joints.
sp | pointer to the array containing the new speed values |
Implemented in FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
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 FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.
|
pure virtual |
Start motion at a given speed, single joint.
j | joint number |
sp | speed value |
Implemented in FakeLaserWithMotor, FakeMotionControl, and yarp::dev::StubImplVelocityControlRaw.