Fawkes API Fawkes Development Version
|
This class represents an URDF model. More...
#include <>>
Public Member Functions | |
bool | initXml (TiXmlElement *xml) |
Initialize the model using a XML Element. More... | |
bool | initXml (TiXmlDocument *xml) |
Initialize the model using a XML Document. More... | |
bool | initFile (const std::string &filename) |
Initialize the Model using a URDF file. More... | |
bool | initString (const std::string &xmlstring) |
Initialize the model using an URDF string. More... | |
This class represents an URDF model.
It can be initialized using either Strings or Files, which are parsed and saved in the Model objects. This class implements the ModelInterface defined in /usr/include/urdf/urdf_model/model.h
bool urdf::Model::initFile | ( | const std::string & | filename | ) |
Initialize the Model using a URDF file.
filename | The filename of the URDF file |
Definition at line 89 of file model.cpp.
References initString().
bool urdf::Model::initString | ( | const std::string & | xml_string | ) |
Initialize the model using an URDF string.
xml_string | The robot description in URDF format |
Definition at line 146 of file model.cpp.
Referenced by initFile(), and initXml().
bool urdf::Model::initXml | ( | TiXmlDocument * | xml_doc | ) |
Initialize the model using a XML Document.
xml_doc | The robot model as TiXmlDocument |
Definition at line 112 of file model.cpp.
References initString().
bool urdf::Model::initXml | ( | TiXmlElement * | robot_xml | ) |
Initialize the model using a XML Element.
robot_xml | The robot model as TiXmlElement |
Definition at line 129 of file model.cpp.
References initString().