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::XMLElement *xml)
 Load Model from tinyxml2::XMLElement. More...
 
URDF_EXPORT bool initXml (const tinyxml2::XMLDocument *xml)
 Load Model from tinyxml2::XMLDocument. More...
 
URDF_EXPORT URDF_DEPRECATED ("TinyXML API is deprecated, use the TinyXML2 version instead") bool initXml(TiXmlElement *xml)
 Load Model from TiXMLElement. More...
 
URDF_EXPORT URDF_DEPRECATED ("TinyXML API is deprecated, use the TinyXML2 version instead") bool initXml(TiXmlDocument *xml)
 Load Model from TiXMLDocument. More...
 

Detailed Description

Definition at line 57 of file model.h.

Member Function Documentation

◆ initFile()

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

Load Model given a filename.

Definition at line 65 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 85 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 90 of file model.cpp.

◆ initString()

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

Load Model from a XML-string.

Definition at line 164 of file model.cpp.

◆ initXml() [1/2]

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

Load Model from tinyxml2::XMLElement.

Definition at line 149 of file model.cpp.

◆ initXml() [2/2]

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

Load Model from tinyxml2::XMLDocument.

Definition at line 135 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 TiXMLElement.

◆ URDF_DEPRECATED() [2/2]

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

Load Model from TiXMLDocument.


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:57:27