Base class for a joint handle. This will be implemented for each type of robot.
More...
#include <joint_handle.h>
Base class for a joint handle. This will be implemented for each type of robot.
Definition at line 43 of file joint_handle.h.
robot_controllers::JointHandle::JointHandle |
( |
| ) |
|
|
inline |
virtual robot_controllers::JointHandle::~JointHandle |
( |
| ) |
|
|
inlinevirtual |
Ensure proper cleanup with virtual destructor.
Definition at line 51 of file joint_handle.h.
robot_controllers::JointHandle::JointHandle |
( |
const JointHandle & |
| ) |
|
|
private |
virtual double robot_controllers::JointHandle::getEffort |
( |
| ) |
|
|
pure virtual |
Get applied effort of a joint in Nm or N.
virtual double robot_controllers::JointHandle::getEffortMax |
( |
| ) |
|
|
pure virtual |
Get the maximum effort command.
virtual std::string robot_controllers::JointHandle::getName |
( |
| ) |
|
|
pure virtual |
virtual double robot_controllers::JointHandle::getPosition |
( |
| ) |
|
|
pure virtual |
Get the position of the joint in radians or meters.
virtual double robot_controllers::JointHandle::getPositionMax |
( |
| ) |
|
|
pure virtual |
Get the maximum valid position command.
virtual double robot_controllers::JointHandle::getPositionMin |
( |
| ) |
|
|
pure virtual |
Get the minimum valid position command.
virtual double robot_controllers::JointHandle::getVelocity |
( |
| ) |
|
|
pure virtual |
Get the velocity of the joint in rad/sec or meters/sec.
virtual double robot_controllers::JointHandle::getVelocityMax |
( |
| ) |
|
|
pure virtual |
Get the maximum velocity command.
virtual bool robot_controllers::JointHandle::isContinuous |
( |
| ) |
|
|
pure virtual |
Is this joint continuous (has no position limits).
virtual void robot_controllers::JointHandle::reset |
( |
| ) |
|
|
pure virtual |
virtual void robot_controllers::JointHandle::setEffort |
( |
double |
effort | ) |
|
|
pure virtual |
Set an effort command for this joint.
- Parameters
-
effort | Effort command in Nm or N. |
virtual void robot_controllers::JointHandle::setPosition |
( |
double |
position, |
|
|
double |
velocity, |
|
|
double |
effort |
|
) |
| |
|
pure virtual |
Set a position command for this joint.
- Parameters
-
position | Position command in radians or meters. |
velocity | Velocity command in rad/sec or meters/sec. |
effort | Effort command in Nm or N. |
virtual void robot_controllers::JointHandle::setVelocity |
( |
double |
velocity, |
|
|
double |
effort |
|
) |
| |
|
pure virtual |
Set a velocity command for this joint.
- Parameters
-
velocity | Velocity command in rad/sec or meters/sec. |
effort | Effort command in Nm or N. |
The documentation for this class was generated from the following file: