Class for loading a simple transmission instance from configuration data. More...
#include <simple_transmission_loader.h>
Public Member Functions | |
TransmissionSharedPtr | load (const TransmissionInfo &transmission_info) override |
Public Member Functions inherited from transmission_interface::TransmissionLoader | |
virtual | ~TransmissionLoader ()=default |
Additional Inherited Members | |
Protected Types inherited from transmission_interface::TransmissionLoader | |
enum | ParseStatus { SUCCESS, NO_DATA, BAD_TYPE } |
Static Protected Member Functions inherited from transmission_interface::TransmissionLoader | |
static bool | checkActuatorDimension (const TransmissionInfo &transmission_info, const unsigned int expected_dim) |
static bool | checkJointDimension (const TransmissionInfo &transmission_info, const unsigned int expected_dim) |
static ParseStatus | getActuatorReduction (const TiXmlElement &parent_el, const std::string &actuator_name, const std::string &transmission_name, bool required, double &reduction) |
static ParseStatus | getActuatorRole (const TiXmlElement &parent_el, const std::string &actuator_name, const std::string &transmission_name, bool required, std::string &role) |
static ParseStatus | getJointOffset (const TiXmlElement &parent_el, const std::string &joint_name, const std::string &transmission_name, bool required, double &offset) |
static ParseStatus | getJointReduction (const TiXmlElement &parent_el, const std::string &joint_name, const std::string &transmission_name, bool required, double &reduction) |
static ParseStatus | getJointRole (const TiXmlElement &parent_el, const std::string &joint_name, const std::string &transmission_name, bool required, std::string &role) |
static TiXmlElement | loadXmlElement (const std::string &element_str) |
Class for loading a simple transmission instance from configuration data.
Definition at line 42 of file simple_transmission_loader.h.
|
overridevirtual |
Implements transmission_interface::TransmissionLoader.
Definition at line 42 of file simple_transmission_loader.cpp.