All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups Pages
Public Member Functions | List of all members
sdf::URDF2SDF Class Reference

URDF to SDF converter. More...

#include <parser_urdf.hh>

Public Member Functions

 URDF2SDF ()
 constructor More...
 
 ~URDF2SDF ()
 destructor More...
 
TiXmlDocument InitModelDoc (TiXmlDocument *_xmlDoc)
 convert urdf xml document string to sdf xml document More...
 
TiXmlDocument InitModelFile (const std::string &_filename)
 convert urdf file to sdf xml document More...
 
TiXmlDocument InitModelString (const std::string &_urdfStr, bool _enforceLimits=true)
 convert urdf string to sdf xml document, with option to enforce limits. More...
 

Detailed Description

URDF to SDF converter.

Constructor & Destructor Documentation

sdf::URDF2SDF::URDF2SDF ( )

constructor

sdf::URDF2SDF::~URDF2SDF ( )

destructor

Member Function Documentation

TiXmlDocument sdf::URDF2SDF::InitModelDoc ( TiXmlDocument *  _xmlDoc)

convert urdf xml document string to sdf xml document

Parameters
[in]_xmlDoca tinyxml document containing the urdf model
Returns
a tinyxml document containing sdf of the model
TiXmlDocument sdf::URDF2SDF::InitModelFile ( const std::string &  _filename)

convert urdf file to sdf xml document

Parameters
[in]_urdfStra string containing filename of the urdf model
Returns
a tinyxml document containing sdf of the model
TiXmlDocument sdf::URDF2SDF::InitModelString ( const std::string &  _urdfStr,
bool  _enforceLimits = true 
)

convert urdf string to sdf xml document, with option to enforce limits.

Parameters
[in]_urdfStra string containing model urdf
[in]_enforceLimitsoption to enforce joint limits
Returns
a tinyxml document containing sdf of the model

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