$search

urdf::ModelInterface Class Reference

#include <model.h>

List of all members.

Public Member Functions

void clear ()
boost::shared_ptr< const JointgetJoint (const std::string &name) const
void getLink (const std::string &name, boost::shared_ptr< Link > &link) const
 non-const getLink()
boost::shared_ptr< const LinkgetLink (const std::string &name) const
void getLinks (std::vector< boost::shared_ptr< Link > > &links) const
boost::shared_ptr< MaterialgetMaterial (const std::string &name) const
 non-const getMaterial()
const std::string & getName () const
boost::shared_ptr< const LinkgetRoot (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< Linkroot_link_

Detailed Description

Definition at line 48 of file model.h.


Member Function Documentation

void urdf::ModelInterface::clear (  )  [inline]

Definition at line 82 of file model.h.

boost::shared_ptr<const Joint> urdf::ModelInterface::getJoint ( const std::string &  name  )  const [inline]

Definition at line 62 of file model.h.

void urdf::ModelInterface::getLink ( const std::string &  name,
boost::shared_ptr< Link > &  link 
) const [inline]

non-const getLink()

Definition at line 92 of file model.h.

boost::shared_ptr<const Link> urdf::ModelInterface::getLink ( const std::string &  name  )  const [inline]

Definition at line 52 of file model.h.

void urdf::ModelInterface::getLinks ( std::vector< boost::shared_ptr< Link > > &  links  )  const [inline]

Definition at line 74 of file model.h.

boost::shared_ptr<Material> urdf::ModelInterface::getMaterial ( const std::string &  name  )  const [inline]

non-const getMaterial()

Definition at line 103 of file model.h.

const std::string& urdf::ModelInterface::getName (  )  const [inline]

Definition at line 73 of file model.h.

boost::shared_ptr<const Link> urdf::ModelInterface::getRoot ( void   )  const [inline]

Definition at line 51 of file model.h.

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

std::map<std::string, boost::shared_ptr<Joint> > urdf::ModelInterface::joints_

complete list of Joints

Definition at line 206 of file model.h.

std::map<std::string, boost::shared_ptr<Link> > urdf::ModelInterface::links_

complete list of Links

Definition at line 201 of file model.h.

std::map<std::string, boost::shared_ptr<Material> > urdf::ModelInterface::materials_

complete list of Materials

Definition at line 208 of file model.h.

Definition at line 210 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


urdf_interface
Author(s): Wim Meeussen, John Hsu
autogenerated on Tue Mar 5 12:16:37 2013