Function hardware_interface::parse_control_resources_from_urdf

Function Documentation

std::vector<HardwareInfo> hardware_interface::parse_control_resources_from_urdf(const std::string &urdf)

Search XML snippet from URDF for information about a control component.

Parameters:

urdf[in] string with robot’s URDF

Throws:

std::runtime_error – if a robot attribute or tag is not found

Returns:

vector filled with information about robot’s control resources