Interface for control boards implementing torque control. More...
#include <yarp/dev/ITorqueControl.h>
Inheritance diagram for yarp::dev::ITorqueControl:Public Member Functions | |
| virtual | ~ITorqueControl () |
| Destructor. | |
| virtual yarp::dev::ReturnValue | getAxes (size_t &ax)=0 |
| Get the number of controlled axes. | |
| virtual yarp::dev::ReturnValue | getRefTorques (double *t)=0 |
| Get the reference value of the torque for all joints. | |
| virtual yarp::dev::ReturnValue | getRefTorque (int j, double *t)=0 |
| Get the reference value of the torque for a given joint. | |
| virtual yarp::dev::ReturnValue | setRefTorques (const double *t)=0 |
| Set the reference value of the torque for all joints. | |
| virtual yarp::dev::ReturnValue | setRefTorque (int j, double t)=0 |
| Set the reference value of the torque for a given joint. | |
| virtual yarp::dev::ReturnValue | setRefTorques (const int n_joint, const int *joints, const double *t)=0 |
| Set new torque reference for a subset of joints. | |
| virtual yarp::dev::ReturnValue | getMotorTorqueParams (int j, yarp::dev::MotorTorqueParameters *params)=0 |
| Get a subset of motor parameters (bemf, ktau etc) useful for torque control. | |
| virtual yarp::dev::ReturnValue | setMotorTorqueParams (int j, const yarp::dev::MotorTorqueParameters params)=0 |
| Set a subset of motor parameters (bemf, ktau etc) useful for torque control. | |
| virtual yarp::dev::ReturnValue | getTorque (int j, double *t)=0 |
| Get the value of the torque on a given joint (this is the feedback if you have a torque sensor). | |
| virtual yarp::dev::ReturnValue | getTorques (double *t)=0 |
| Get the value of the torque for all joints (this is the feedback if you have torque sensors). | |
| virtual yarp::dev::ReturnValue | getTorqueRange (int j, double *min, double *max)=0 |
| Get the full scale of the torque sensor of a given joint. | |
| virtual yarp::dev::ReturnValue | getTorqueRanges (double *min, double *max)=0 |
| Get the full scale of the torque sensors of all joints. | |
Interface for control boards implementing torque control.
Definition at line 39 of file ITorqueControl.h.
|
inlinevirtual |
Destructor.
Definition at line 45 of file ITorqueControl.h.
|
pure virtual |
Get the number of controlled axes.
This command asks the number of controlled axes for the current physical interface.
Implemented in ControlBoardRemapper, DynamixelAX12FtdiDriver, FakeMotionControl, ControlBoard_nwc_yarp, and yarp::dev::ImplementTorqueControl.
|
pure virtual |
Get a subset of motor parameters (bemf, ktau etc) useful for torque control.
| j | joint number |
| params | a struct containing the motor parameters to be retrieved |
Implemented in ControlBoard_nwc_yarp, yarp::dev::xHandControlBoard, ControlBoardRemapper, DynamixelAX12FtdiDriver, and yarp::dev::ImplementTorqueControl.
|
pure virtual |
Get the reference value of the torque for a given joint.
This is NOT the feedback (see getTorque instead).
| j | joint number |
| t | the returned reference torque of joint j |
Implemented in yarp::dev::ImplementTorqueControl, yarp::dev::xHandControlBoard, ControlBoardRemapper, DynamixelAX12FtdiDriver, and ControlBoard_nwc_yarp.
|
pure virtual |
Get the reference value of the torque for all joints.
This is NOT the feedback (see getTorques instead).
| t | pointer to the array of torque values |
Implemented in yarp::dev::xHandControlBoard, ControlBoardRemapper, DynamixelAX12FtdiDriver, ControlBoard_nwc_yarp, and yarp::dev::ImplementTorqueControl.
|
pure virtual |
Get the value of the torque on a given joint (this is the feedback if you have a torque sensor).
| j | joint number |
| t | pointer to the result value |
Implemented in yarp::dev::xHandControlBoard, ControlBoardRemapper, DynamixelAX12FtdiDriver, ControlBoard_nwc_yarp, and yarp::dev::ImplementTorqueControl.
|
pure virtual |
Get the full scale of the torque sensor of a given joint.
| j | joint number |
| min | minimum torque of the joint j |
| max | maximum torque of the joint j |
Implemented in yarp::dev::xHandControlBoard, ControlBoardRemapper, DynamixelAX12FtdiDriver, ControlBoard_nwc_yarp, and yarp::dev::ImplementTorqueControl.
|
pure virtual |
Get the full scale of the torque sensors of all joints.
| min | pointer to the array that will store minimum torques of the joints |
| max | pointer to the array that will store maximum torques of the joints |
Implemented in yarp::dev::xHandControlBoard, ControlBoardRemapper, DynamixelAX12FtdiDriver, ControlBoard_nwc_yarp, and yarp::dev::ImplementTorqueControl.
|
pure virtual |
Get the value of the torque for all joints (this is the feedback if you have torque sensors).
| t | pointer to the array that will store the output |
Implemented in yarp::dev::xHandControlBoard, ControlBoardRemapper, DynamixelAX12FtdiDriver, ControlBoard_nwc_yarp, and yarp::dev::ImplementTorqueControl.
|
pure virtual |
Set a subset of motor parameters (bemf, ktau etc) useful for torque control.
| j | joint number |
| params | a struct containing the motor parameters to be set |
Implemented in ControlBoard_nwc_yarp, yarp::dev::xHandControlBoard, ControlBoardRemapper, DynamixelAX12FtdiDriver, and yarp::dev::ImplementTorqueControl.
|
pure virtual |
Set the reference value of the torque for a given joint.
| j | joint number |
| t | new value |
Implemented in yarp::dev::xHandControlBoard, ControlBoardRemapper, DynamixelAX12FtdiDriver, yarp::dev::ImplementTorqueControl, and ControlBoard_nwc_yarp.
|
pure virtual |
Set the reference value of the torque for all joints.
| t | pointer to the array of torque values |
Implemented in yarp::dev::xHandControlBoard, ControlBoardRemapper, DynamixelAX12FtdiDriver, ControlBoard_nwc_yarp, and yarp::dev::ImplementTorqueControl.
|
pure virtual |
Set new torque reference for a subset of joints.
| joints | pointer to the array of joint numbers |
| refs | pointer to the array specifying the new torque reference |
Implemented in yarp::dev::xHandControlBoard, ControlBoardRemapper, DynamixelAX12FtdiDriver, ControlBoard_nwc_yarp, and yarp::dev::ImplementTorqueControl.