#include <simple_transmission.h>
Public Member Functions | |
bool | initXml (TiXmlElement *config, Robot *robot) |
Initializes the transmission from XML data. More... | |
bool | initXml (TiXmlElement *config) |
Initializes the transmission from XML data. More... | |
void | propagateEffort (std::vector< pr2_mechanism_model::JointState * > &, std::vector< pr2_hardware_interface::Actuator * > &) |
Uses commanded joint efforts to fill out commanded motor currents. More... | |
void | propagateEffortBackwards (std::vector< pr2_hardware_interface::Actuator * > &, std::vector< pr2_mechanism_model::JointState * > &) |
Uses the actuator's commanded effort to fill out the torque on the joint. More... | |
void | propagatePosition (std::vector< pr2_hardware_interface::Actuator * > &, std::vector< pr2_mechanism_model::JointState * > &) |
Uses encoder data to fill out joint position and velocities. More... | |
void | propagatePositionBackwards (std::vector< pr2_mechanism_model::JointState * > &, std::vector< pr2_hardware_interface::Actuator * > &) |
Uses the joint position to fill out the actuator's encoder. More... | |
SimpleTransmission () | |
~SimpleTransmission () | |
Public Member Functions inherited from pr2_mechanism_model::Transmission | |
Transmission () | |
Constructor. More... | |
virtual | ~Transmission () |
Destructor. More... | |
Public Attributes | |
double | mechanical_reduction_ |
Public Attributes inherited from pr2_mechanism_model::Transmission | |
std::vector< std::string > | actuator_names_ |
std::vector< std::string > | joint_names_ |
std::string | name_ |
the name of the transmission More... | |
Definition at line 48 of file simple_transmission.h.
|
inline |
Definition at line 51 of file simple_transmission.h.
|
inline |
Definition at line 52 of file simple_transmission.h.
|
virtual |
Initializes the transmission from XML data.
Implements pr2_mechanism_model::Transmission.
|
virtual |
Initializes the transmission from XML data.
Reimplemented from pr2_mechanism_model::Transmission.
Definition at line 127 of file simple_transmission.cpp.
|
virtual |
Uses commanded joint efforts to fill out commanded motor currents.
Implements pr2_mechanism_model::Transmission.
Definition at line 243 of file simple_transmission.cpp.
|
virtual |
Uses the actuator's commanded effort to fill out the torque on the joint.
Implements pr2_mechanism_model::Transmission.
Definition at line 253 of file simple_transmission.cpp.
|
virtual |
Uses encoder data to fill out joint position and velocities.
Implements pr2_mechanism_model::Transmission.
Definition at line 187 of file simple_transmission.cpp.
|
virtual |
Uses the joint position to fill out the actuator's encoder.
Implements pr2_mechanism_model::Transmission.
Definition at line 208 of file simple_transmission.cpp.
|
private |
Definition at line 76 of file simple_transmission.h.
double pr2_mechanism_model::SimpleTransmission::mechanical_reduction_ |
Definition at line 57 of file simple_transmission.h.
|
private |
Definition at line 74 of file simple_transmission.h.
|
private |
Definition at line 73 of file simple_transmission.h.
|
private |
Definition at line 70 of file simple_transmission.h.
|
private |
Definition at line 71 of file simple_transmission.h.