URDF to SDF converter.
More...
#include <parser_urdf.hh>
|
static bool | IsURDF (const std::string &_filename) |
| Return true if the filename is a URDF model. More...
|
|
◆ URDF2SDF()
sdf::v9::URDF2SDF::URDF2SDF |
( |
| ) |
|
◆ ~URDF2SDF()
sdf::v9::URDF2SDF::~URDF2SDF |
( |
| ) |
|
◆ InitModelDoc()
TiXmlDocument sdf::v9::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::v9::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::v9::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::v9::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: