Parse all transmissions specified in a URDF. More...
#include <transmission_parser.h>
Static Public Member Functions | |
static bool | parse (const std::string &urdf_string, std::vector< TransmissionInfo > &transmissions) |
Parses the tranmission elements of a URDF. | |
Static Private Member Functions | |
static bool | parseActuators (TiXmlElement *trans_it, std::vector< ActuatorInfo > &actuators) |
Parses the actuator elements within tranmission elements of a URDF. | |
static bool | parseJoints (TiXmlElement *trans_it, std::vector< JointInfo > &joints) |
Parses the joint elements within tranmission elements of a URDF. |
Parse all transmissions specified in a URDF.
Definition at line 58 of file transmission_parser.h.
bool transmission_interface::TransmissionParser::parse | ( | const std::string & | urdf_string, |
std::vector< TransmissionInfo > & | transmissions | ||
) | [static] |
Parses the tranmission elements of a URDF.
[in] | urdf_string | XML string of a valid URDF file that contains <tranmission> elements |
[out] | transmissions | vector of loaded transmission meta data |
Definition at line 42 of file transmission_parser.cpp.
bool transmission_interface::TransmissionParser::parseActuators | ( | TiXmlElement * | trans_it, |
std::vector< ActuatorInfo > & | actuators | ||
) | [static, private] |
Parses the actuator elements within tranmission elements of a URDF.
[in] | trans_it | pointer to the current XML element being parsed |
[out] | actuators | resulting list of actuators in the transmission |
Definition at line 189 of file transmission_parser.cpp.
bool transmission_interface::TransmissionParser::parseJoints | ( | TiXmlElement * | trans_it, |
std::vector< JointInfo > & | joints | ||
) | [static, private] |
Parses the joint elements within tranmission elements of a URDF.
[in] | trans_it | pointer to the current XML element being parsed |
[out] | joints | resulting list of joints in the transmission |
Definition at line 123 of file transmission_parser.cpp.