urdf::ModelInterface Class Reference
#include <model.h>
List of all members.
Public Member Functions |
void | clear () |
boost::shared_ptr< const Joint > | getJoint (const std::string &name) const |
void | getLink (const std::string &name, boost::shared_ptr< Link > &link) const |
| non-const getLink()
|
boost::shared_ptr< const Link > | getLink (const std::string &name) const |
void | getLinks (std::vector< boost::shared_ptr< Link > > &links) const |
boost::shared_ptr< Material > | getMaterial (const std::string &name) const |
| non-const getMaterial()
|
const std::string & | getName () const |
boost::shared_ptr< const Link > | getRoot (void) const |
bool | initRoot (std::map< std::string, std::string > &parent_link_tree) |
bool | initTree (std::map< std::string, std::string > &parent_link_tree) |
Public Attributes |
std::map< std::string,
boost::shared_ptr< Joint > > | joints_ |
| complete list of Joints
|
std::map< std::string,
boost::shared_ptr< Link > > | links_ |
| complete list of Links
|
std::map< std::string,
boost::shared_ptr< Material > > | materials_ |
| complete list of Materials
|
std::string | name_ |
boost::shared_ptr< Link > | root_link_ |
Detailed Description
Definition at line 48 of file model.h.
Member Function Documentation
void urdf::ModelInterface::clear |
( |
|
) |
[inline] |
boost::shared_ptr<const Joint> urdf::ModelInterface::getJoint |
( |
const std::string & |
name |
) |
const [inline] |
void urdf::ModelInterface::getLink |
( |
const std::string & |
name, |
|
|
boost::shared_ptr< Link > & |
link | |
|
) |
| | const [inline] |
boost::shared_ptr<const Link> urdf::ModelInterface::getLink |
( |
const std::string & |
name |
) |
const [inline] |
void urdf::ModelInterface::getLinks |
( |
std::vector< boost::shared_ptr< Link > > & |
links |
) |
const [inline] |
boost::shared_ptr<Material> urdf::ModelInterface::getMaterial |
( |
const std::string & |
name |
) |
const [inline] |
const std::string& urdf::ModelInterface::getName |
( |
|
) |
const [inline] |
boost::shared_ptr<const Link> urdf::ModelInterface::getRoot |
( |
void |
|
) |
const [inline] |
bool urdf::ModelInterface::initRoot |
( |
std::map< std::string, std::string > & |
parent_link_tree |
) |
[inline] |
in initXml(), onece tree is built, it's time to find the root Link
Definition at line 171 of file model.h.
bool urdf::ModelInterface::initTree |
( |
std::map< std::string, std::string > & |
parent_link_tree |
) |
[inline] |
in initXml(), onece all links are loaded, it's time to build a tree
Definition at line 115 of file model.h.
Member Data Documentation
complete list of Joints
Definition at line 206 of file model.h.
complete list of Links
Definition at line 201 of file model.h.
complete list of Materials
Definition at line 208 of file model.h.
ModelInterface is restricted to a tree for now, which means there exists one root link typically, root link is the world(inertial). Where world is a special link or is the root_link_ the link attached to the world by PLANAR/FLOATING joint? hmm...
Definition at line 216 of file model.h.
The documentation for this class was generated from the following file: