Public Member Functions | Static Public Member Functions | Static Private Member Functions
transmission_interface::TransmissionParser Class Reference

#include <transmission_parser.h>

List of all members.

Public Member Functions

 TransmissionParser ()
 Constructor.
 ~TransmissionParser ()
 Destructor.

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.

Detailed Description

Definition at line 57 of file transmission_parser.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 63 of file transmission_parser.h.

Destructor.

Definition at line 70 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_string- XML string of a valid URDF file that contains <tranmission> elements
[out]transmissions- vector of loaded transmission meta data
Returns:
true if parsing was successful

Definition at line 41 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.

Parameters:
[in]trans_it- pointer to the current XML element being parsed
[out]actuators- resulting list of actuators in the transmission
Returns:
true if successful

Definition at line 157 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.

Parameters:
[in]trans_it- pointer to the current XML element being parsed
[out]joints- resulting list of joints in the transmission
Returns:
true if successful

Definition at line 118 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 Fri Aug 28 2015 12:36:26