Interface for setting control mode in control board. More...
#include <yarp/dev/IControlMode.h>
Inheritance diagram for yarp::dev::IControlMode:Public Member Functions | |
| virtual | ~IControlMode () |
| virtual yarp::dev::ReturnValue | getAvailableControlModes (int j, std::vector< yarp::dev::SelectableControlModeEnum > &avail)=0 |
| Return a list of available control mode for the given joint. | |
| virtual yarp::dev::ReturnValue | getControlMode (int j, yarp::dev::ControlModeEnum &mode)=0 |
| Get the current control mode. | |
| virtual yarp::dev::ReturnValue | getControlMode (int j, int *mode) |
| virtual yarp::dev::ReturnValue | getControlModes (std::vector< yarp::dev::ControlModeEnum > &mode)=0 |
| Get the current control mode (multiple joints). | |
| virtual yarp::dev::ReturnValue | getControlModes (const std::vector< int > &joints, std::vector< yarp::dev::ControlModeEnum > &mode)=0 |
| Get the current control mode for a subset of axes. | |
| virtual yarp::dev::ReturnValue | setControlMode (int j, yarp::dev::SelectableControlModeEnum mode)=0 |
| Set the current control mode. | |
| virtual yarp::dev::ReturnValue | setControlMode (const int j, const int mode) |
| virtual yarp::dev::ReturnValue | setControlModes (const std::vector< int > &joints, const std::vector< yarp::dev::SelectableControlModeEnum > &mode)=0 |
| Set the current control mode for a subset of axes. | |
| virtual yarp::dev::ReturnValue | setControlModes (const std::vector< yarp::dev::SelectableControlModeEnum > &mode)=0 |
| Set the current control mode (multiple joints). | |
Interface for setting control mode in control board.
Definition at line 64 of file IControlMode.h.
|
inlinevirtual |
Definition at line 67 of file IControlMode.h.
|
pure virtual |
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. |
Implemented in ControlBoardRemappingEngine, ControlBoard_nwc_yarp, and yarp::dev::ImplementControlMode.
|
inlinevirtual |
Reimplemented in yarp::dev::ImplementControlMode, and yarp::dev::xHandControlBoard.
Definition at line 85 of file IControlMode.h.
|
pure virtual |
Get the current control mode.
| j | joint number |
| mode | a vocab of the current control mode for joint j. |
Implemented in ControlBoardRemappingEngine, ControlBoard_nwc_yarp, yarp::dev::ImplementControlMode, and yarp::dev::ImplementControlMode.
|
pure virtual |
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 |
Implemented in ControlBoardRemappingEngine, ControlBoard_nwc_yarp, and yarp::dev::ImplementControlMode.
|
pure virtual |
Get the current control mode (multiple joints).
| modes | a vector containing vocabs for the current control modes of the joints. |
Implemented in ControlBoardRemappingEngine, ControlBoard_nwc_yarp, and yarp::dev::ImplementControlMode.
|
inlinevirtual |
Reimplemented in yarp::dev::ImplementControlMode, and yarp::dev::xHandControlBoard.
Definition at line 124 of file IControlMode.h.
|
pure virtual |
Set the current control mode.
| j | joint number |
| mode | a vocab of the desired control mode for joint j. |
Implemented in ControlBoardRemappingEngine, ControlBoard_nwc_yarp, yarp::dev::ImplementControlMode, and yarp::dev::ImplementControlMode.
|
pure virtual |
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 |
Implemented in ControlBoardRemappingEngine, ControlBoard_nwc_yarp, and yarp::dev::ImplementControlMode.
|
pure virtual |
Set the current control mode (multiple joints).
| modes | a vector containing vocabs for the desired control modes of the joints. |
Implemented in ControlBoardRemappingEngine, ControlBoard_nwc_yarp, and yarp::dev::ImplementControlMode.