Static Public Member Functions | Static Private Member Functions | List of all members
transmission_interface::TransmissionParser Class Reference

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. More...
 

Static Private Member Functions

static bool parseActuators (TiXmlElement *trans_it, std::vector< ActuatorInfo > &actuators)
 Parses the actuator elements within tranmission elements of a URDF. More...
 
static bool parseJoints (TiXmlElement *trans_it, std::vector< JointInfo > &joints)
 Parses the joint elements within tranmission elements of a URDF. More...
 

Detailed Description

Parse all transmissions specified in a URDF.

Definition at line 58 of file transmission_parser.h.

Member Function Documentation

bool transmission_interface::TransmissionParser::parse ( const std::string &  urdf_string,
std::vector< TransmissionInfo > &  transmissions 
)
static

Parses the tranmission elements of a URDF.

Parameters
[in]urdf_stringXML string of a valid URDF file that contains <tranmission> elements
[out]transmissionsvector of loaded transmission meta data
Returns
true if parsing was successful

Definition at line 42 of file transmission_parser.cpp.

bool transmission_interface::TransmissionParser::parseActuators ( TiXmlElement *  trans_it,
std::vector< ActuatorInfo > &  actuators 
)
staticprivate

Parses the actuator elements within tranmission elements of a URDF.

Parameters
[in]trans_itpointer to the current XML element being parsed
[out]actuatorsresulting list of actuators in the transmission
Returns
true if successful

Definition at line 195 of file transmission_parser.cpp.

bool transmission_interface::TransmissionParser::parseJoints ( TiXmlElement *  trans_it,
std::vector< JointInfo > &  joints 
)
staticprivate

Parses the joint elements within tranmission elements of a URDF.

Parameters
[in]trans_itpointer to the current XML element being parsed
[out]jointsresulting list of joints in the transmission
Returns
true if successful

Definition at line 123 of file transmission_parser.cpp.


The documentation for this class was generated from the following files:


transmission_interface
Author(s): Adolfo Rodriguez Tsouroukdissian
autogenerated on Mon Apr 20 2020 03:52:15