Open 3D Engine ROS2 Gem API Reference  23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ROS2::UrdfParser Namespace Reference

Class for parsing URDF data. More...

Functions

urdf::ModelInterfaceSharedPtr Parse (const AZStd::string &xmlString)
 
urdf::ModelInterfaceSharedPtr ParseFromFile (const AZStd::string &filePath)
 
AZStd::string GetUrdfParsingLog ()
 

Detailed Description

Class for parsing URDF data.

Function Documentation

AZStd::string ROS2::UrdfParser::GetUrdfParsingLog ( )

Retrieve console log from URDF parsing

Returns
a log with output from urdf_parser
urdf::ModelInterfaceSharedPtr ROS2::UrdfParser::Parse ( const AZStd::string &  xmlString)

Parse string with URDF data and generate model.

Parameters
xmlStringa string that contains URDF data (XML format).
Returns
model represented as a tree of parsed links.
urdf::ModelInterfaceSharedPtr ROS2::UrdfParser::ParseFromFile ( const AZStd::string &  filePath)

Parse file with URDF data and generate model.

Parameters
filePathis a path to file with URDF data that will be loaded and parsed.
Returns
model represented as a tree of parsed links.