URDF to SDF converter.
More...
#include <parser_urdf.hh>
|
| | URDF2SDF () |
| | constructor
|
| |
| | ~URDF2SDF () |
| | destructor
|
| |
| TiXmlDocument | InitModelDoc (TiXmlDocument *_xmlDoc) |
| | convert urdf xml document string to sdf xml document
|
| |
| TiXmlDocument | InitModelFile (const std::string &_filename) |
| | convert urdf file to sdf xml document
|
| |
| TiXmlDocument | InitModelString (const std::string &_urdfStr, bool _enforceLimits=true) |
| | convert urdf string to sdf xml document, with option to enforce limits.
|
| |
|
| static bool | IsURDF (const std::string &_filename) |
| | Return true if the filename is a URDF model.
|
| |
◆ URDF2SDF()
| sdf::URDF2SDF::URDF2SDF |
( |
| ) |
|
◆ ~URDF2SDF()
| sdf::URDF2SDF::~URDF2SDF |
( |
| ) |
|
◆ InitModelDoc()
| TiXmlDocument sdf::URDF2SDF::InitModelDoc |
( |
TiXmlDocument * | _xmlDoc | ) |
|
convert urdf xml document string to sdf xml document
- Parameters
-
| [in] | _xmlDoc | a tinyxml document containing the urdf model |
- Returns
- a tinyxml document containing sdf of the model
◆ InitModelFile()
| TiXmlDocument sdf::URDF2SDF::InitModelFile |
( |
const std::string & | _filename | ) |
|
convert urdf file to sdf xml document
- Parameters
-
| [in] | _urdfStr | a string containing filename of the urdf model |
- Returns
- a tinyxml document containing sdf of the model
◆ InitModelString()
| 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] | _urdfStr | a string containing model urdf |
| [in] | _enforceLimits | option to enforce joint limits |
- Returns
- a tinyxml document containing sdf of the model
◆ IsURDF()
| static bool sdf::URDF2SDF::IsURDF |
( |
const std::string & | _filename | ) |
|
|
static |
Return true if the filename is a URDF model.
- Parameters
-
| [in] | _filename | File to check. |
- Returns
- True if _filename is a URDF model.
The documentation for this class was generated from the following file: