Public Member Functions | List of all members
urdf::Model Class Reference

#include <model.h>

Inheritance diagram for urdf::Model:
Inheritance graph
[legend]

Public Member Functions

URDF_EXPORT bool initFile (const std::string &filename)
 Load Model given a filename. More...
 
URDF_EXPORT bool initParam (const std::string &param)
 Load Model given the name of a parameter on the parameter server. More...
 
URDF_EXPORT bool initParamWithNodeHandle (const std::string &param, const ros::NodeHandle &nh=ros::NodeHandle())
 Load Model given the name of parameter on parameter server using provided nodehandle. More...
 
URDF_EXPORT bool initString (const std::string &xmlstring)
 Load Model from a XML-string. More...
 
URDF_EXPORT bool initXml (const tinyxml2::XMLDocument *xml)
 Load Model from tinyxml2::XMLDocument. More...
 
URDF_EXPORT bool initXml (const tinyxml2::XMLElement *xml)
 Load Model from tinyxml2::XMLElement. More...
 
URDF_EXPORT URDF_DEPRECATED ("TinyXML API is deprecated, use the TinyXML2 version instead") bool initXml(TiXmlDocument *xml)
 Load Model from TiXMLDocument. More...
 
URDF_EXPORT URDF_DEPRECATED ("TinyXML API is deprecated, use the TinyXML2 version instead") bool initXml(TiXmlElement *xml)
 Load Model from TiXMLElement. More...
 

Detailed Description

Definition at line 89 of file model.h.

Member Function Documentation

◆ initFile()

bool urdf::Model::initFile ( const std::string &  filename)

Load Model given a filename.

Definition at line 97 of file model.cpp.

◆ initParam()

bool urdf::Model::initParam ( const std::string &  param)

Load Model given the name of a parameter on the parameter server.

Definition at line 117 of file model.cpp.

◆ initParamWithNodeHandle()

bool urdf::Model::initParamWithNodeHandle ( const std::string &  param,
const ros::NodeHandle nh = ros::NodeHandle() 
)

Load Model given the name of parameter on parameter server using provided nodehandle.

Definition at line 122 of file model.cpp.

◆ initString()

bool urdf::Model::initString ( const std::string &  xmlstring)

Load Model from a XML-string.

Definition at line 196 of file model.cpp.

◆ initXml() [1/2]

bool urdf::Model::initXml ( const tinyxml2::XMLDocument *  xml)

Load Model from tinyxml2::XMLDocument.

Definition at line 167 of file model.cpp.

◆ initXml() [2/2]

bool urdf::Model::initXml ( const tinyxml2::XMLElement *  xml)

Load Model from tinyxml2::XMLElement.

Definition at line 181 of file model.cpp.

◆ URDF_DEPRECATED() [1/2]

URDF_EXPORT urdf::Model::URDF_DEPRECATED ( "TinyXML API is  deprecated,
use the TinyXML2 version instead"   
)

Load Model from TiXMLDocument.

◆ URDF_DEPRECATED() [2/2]

URDF_EXPORT urdf::Model::URDF_DEPRECATED ( "TinyXML API is  deprecated,
use the TinyXML2 version instead"   
)

Load Model from TiXMLElement.


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


urdf
Author(s): Ioan Sucan , Jackie Kay
autogenerated on Wed Jul 20 2022 02:43:43