![]() |
ros2_control - galactic
|
Classes | |
class | ActuatorHandle |
class | DifferentialTransmission |
Implementation of a differential transmission. More... | |
class | Exception |
class | FourBarLinkageTransmission |
Implementation of a four-bar-linkage transmission. More... | |
class | JointHandle |
class | SimpleTransmission |
Implementation of a simple reducer transmission. More... | |
class | Transmission |
Abstract base class for representing mechanical transmissions. More... | |
Typedefs | |
typedef std::shared_ptr< Transmission > | TransmissionSharedPtr |
Functions | |
template<typename T > | |
std::string | to_string (const std::vector< T > &list) |
template<class T > | |
std::vector< std::string > | get_names (const std::vector< T > &handles) |
template<typename T > | |
std::vector< T > | get_ordered_handles (const std::vector< T > &unordered_handles, const std::vector< std::string > &names, const std::string &interface_type) |
template<class HandleType > | |
HandleType | get_by_interface (const std::vector< HandleType > &handles, const std::string &interface_name) |
template<class T > | |
bool | are_names_identical (const std::vector< T > &handles) |
TRANSMISSION_INTERFACE_PUBLIC std::vector< JointInfo > | parse_joints (tinyxml2::XMLElement *trans_it) |
Parses the joint elements within transmission elements of a URDF. | |
TRANSMISSION_INTERFACE_PUBLIC std::vector< ActuatorInfo > | parse_actuators (tinyxml2::XMLElement *trans_it) |
Parses the actuator elements within transmission elements of a URDF. | |
TRANSMISSION_INTERFACE_PUBLIC std::vector< TransmissionInfo > | parse_transmissions_from_urdf (const std::string &urdf) |
Parse transmission information from a URDF. | |
TRANSMISSION_INTERFACE_PUBLIC std::vector< ActuatorInfo > transmission_interface::parse_actuators | ( | tinyxml2::XMLElement * | trans_it | ) |
Parses the actuator elements within transmission elements of a URDF.
If parse errors occur a std::runtime_error will be thrown with a description of the problem.
[in] | trans_it | pointer to the current XML element being parsed |
[out] | actuators | resulting list of actuators in the transmission |
TRANSMISSION_INTERFACE_PUBLIC std::vector< JointInfo > transmission_interface::parse_joints | ( | tinyxml2::XMLElement * | trans_it | ) |
Parses the joint elements within transmission elements of a URDF.
If parse errors occur a std::runtime_error will be thrown with a description of the problem.
[in] | trans_it | pointer to the current XML element being parsed |
[out] | joints | resulting list of joints in the transmission |
TRANSMISSION_INTERFACE_PUBLIC std::vector< TransmissionInfo > transmission_interface::parse_transmissions_from_urdf | ( | const std::string & | urdf | ) |
Parse transmission information from a URDF.
[in] | urdf | A string containing the URDF xml |
std::runtime_error | on malformed or empty xml |