#include <yarp/dev/ImplementControlMode.h>
Inheritance diagram for yarp::dev::ImplementControlMode:Definition at line 26 of file ImplementControlMode.h.
| ImplementControlMode::ImplementControlMode | ( | IControlModeRaw * | v | ) |
Definition at line 19 of file ImplementControlMode.cpp.
| ImplementControlMode::~ImplementControlMode | ( | ) |
Definition at line 41 of file ImplementControlMode.cpp.
|
overridevirtual |
Return a list of available control mode for the given joint.
| j | joint number |
| avail | a vector that will contain the list of available control modes for joint j. |
Implements yarp::dev::IControlMode.
Definition at line 57 of file ImplementControlMode.cpp.
|
inlinevirtual |
Reimplemented from yarp::dev::IControlMode.
Definition at line 85 of file IControlMode.h.
|
overridevirtual |
Get the current control mode.
| j | joint number |
| mode | a vocab of the current control mode for joint j. |
Implements yarp::dev::IControlMode.
Definition at line 66 of file ImplementControlMode.cpp.
|
virtual |
Get the current control mode.
| j | joint number |
| mode | a vocab of the current control mode for joint j. |
Implements yarp::dev::IControlMode.
|
overridevirtual |
Get the current control mode for a subset of axes.
| n_joints | how many joints this command is referring to |
| joints | list of joint numbers, the size of this array is n_joints |
| modes | array containing the new controlmodes, one value for each joint, the size is n_joints. The first value will be the new reference for the joint joints[0]. for example: n_joint 3 joints 0 2 4 modes VOCAB_CM_POSITION VOCAB_CM_VELOCITY VOCAB_CM_POSITION |
Implements yarp::dev::IControlMode.
Definition at line 90 of file ImplementControlMode.cpp.
|
overridevirtual |
Get the current control mode (multiple joints).
| modes | a vector containing vocabs for the current control modes of the joints. |
Implements yarp::dev::IControlMode.
Definition at line 75 of file ImplementControlMode.cpp.
Definition at line 24 of file ImplementControlMode.cpp.
|
inlinevirtual |
Reimplemented from yarp::dev::IControlMode.
Definition at line 124 of file IControlMode.h.
|
overridevirtual |
Set the current control mode.
| j | joint number |
| mode | a vocab of the desired control mode for joint j. |
Implements yarp::dev::IControlMode.
Definition at line 105 of file ImplementControlMode.cpp.
|
virtual |
Set the current control mode.
| j | joint number |
| mode | a vocab of the desired control mode for joint j. |
Implements yarp::dev::IControlMode.
|
overridevirtual |
Set the current control mode for a subset of axes.
| n_joints | how many joints this command is referring to |
| joints | list of joint numbers, the size of this array is n_joints |
| modes | array containing the new controlmodes, one value for each joint, the size is n_joints. The first value will be the new reference for the joint joints[0]. for example: n_joint 3 joints 0 2 4 modes VOCAB_CM_POSITION VOCAB_CM_VELOCITY VOCAB_CM_POSITION |
Implements yarp::dev::IControlMode.
Definition at line 114 of file ImplementControlMode.cpp.
|
overridevirtual |
Set the current control mode (multiple joints).
| modes | a vector containing vocabs for the desired control modes of the joints. |
Implements yarp::dev::IControlMode.
Definition at line 130 of file ImplementControlMode.cpp.
| bool ImplementControlMode::uninitialize | ( | ) |
Definition at line 46 of file ImplementControlMode.cpp.