#include <hardware_interface.h>
Public Member Functions | |
Actuator (std::string name) | |
Actuator () | |
Public Attributes | |
ActuatorCommand | command_ |
std::string | name_ |
ActuatorState | state_ |
The Actuator class provides an interface for the PR2's motor controller board (MCB). The MCB is connected to a motor, encoder, and optional calibration sensor.
The ActuatorCommand class is used to enable the motor and set the commanded efforts of the motor (in Nm).
The ActuatorState class reports back on the state of the motor, encoder, and calibration sensor.
Definition at line 145 of file hardware_interface.h.
pr2_hardware_interface::Actuator::Actuator | ( | ) | [inline] |
Definition at line 148 of file hardware_interface.h.
pr2_hardware_interface::Actuator::Actuator | ( | std::string | name | ) | [inline] |
Definition at line 149 of file hardware_interface.h.
Definition at line 152 of file hardware_interface.h.
std::string pr2_hardware_interface::Actuator::name_ |
Definition at line 150 of file hardware_interface.h.
Definition at line 151 of file hardware_interface.h.