All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Classes | Public Member Functions | Private Member Functions | Private Attributes
srdf::Model Class Reference

Representation of semantic information about the robot. More...

#include <model.h>

List of all members.

Classes

struct  EndEffector
 Representation of an end effector. More...
struct  Group
 A group consists of a set of joints and the corresponding descendant links. There are multiple ways to specify a group. Directly specifying joints, links or chains, or referring to other defined groups. More...
struct  GroupState
 A named state for a particular group. More...
struct  VirtualJoint

Public Member Functions

void clear (void)
 Clear the model.
const std::vector< std::pair
< std::string, std::string > > & 
getDisabledCollisions (void) const
 Get the list of pairs of links that need not be checked for collisions (because they can never touch given the geometry and kinematics of the robot)
const std::vector< EndEffector > & getEndEffectors (void) const
 Get the list of end effectors defined for this model.
const std::vector< Group > & getGroups (void) const
 Get the list of groups defined for this model.
const std::vector< GroupState > & getGroupStates (void) const
 Get the list of group states defined for this model.
const std::string & getName (void) const
 Get the name of this model.
const std::vector< VirtualJoint > & getVirtualJoints (void) const
 Get the list of virtual joints defined for this model.
bool initFile (const urdf::ModelInterface &urdf_model, const std::string &filename)
 Load Model given a filename.
bool initString (const urdf::ModelInterface &urdf_model, const std::string &xmlstring)
 Load Model from a XML-string.
bool initXml (const urdf::ModelInterface &urdf_model, TiXmlElement *xml)
 Load Model from TiXMLElement.
bool initXml (const urdf::ModelInterface &urdf_model, TiXmlDocument *xml)
 Load Model from TiXMLDocument.
 Model (void)
 ~Model (void)

Private Member Functions

void loadDisabledCollisions (const urdf::ModelInterface &urdf_model, TiXmlElement *robot_xml)
void loadEndEffectors (const urdf::ModelInterface &urdf_model, TiXmlElement *robot_xml)
void loadGroups (const urdf::ModelInterface &urdf_model, TiXmlElement *robot_xml)
void loadGroupStates (const urdf::ModelInterface &urdf_model, TiXmlElement *robot_xml)
void loadVirtualJoints (const urdf::ModelInterface &urdf_model, TiXmlElement *robot_xml)

Private Attributes

std::vector< std::pair
< std::string, std::string > > 
disabled_collisions_
std::vector< EndEffectorend_effectors_
std::vector< GroupStategroup_states_
std::vector< Groupgroups_
std::string name_
std::vector< VirtualJointvirtual_joints_

Detailed Description

Representation of semantic information about the robot.

Definition at line 52 of file model.h.


Constructor & Destructor Documentation

srdf::Model::Model ( void  ) [inline]

Definition at line 56 of file model.h.

srdf::Model::~Model ( void  ) [inline]

Definition at line 60 of file model.h.


Member Function Documentation

void srdf::Model::clear ( void  )

Clear the model.

Definition at line 500 of file model.cpp.

const std::vector<std::pair<std::string, std::string> >& srdf::Model::getDisabledCollisions ( void  ) const [inline]

Get the list of pairs of links that need not be checked for collisions (because they can never touch given the geometry and kinematics of the robot)

Definition at line 159 of file model.h.

const std::vector<EndEffector>& srdf::Model::getEndEffectors ( void  ) const [inline]

Get the list of end effectors defined for this model.

Definition at line 177 of file model.h.

const std::vector<Group>& srdf::Model::getGroups ( void  ) const [inline]

Get the list of groups defined for this model.

Definition at line 165 of file model.h.

const std::vector<GroupState>& srdf::Model::getGroupStates ( void  ) const [inline]

Get the list of group states defined for this model.

Definition at line 183 of file model.h.

const std::string& srdf::Model::getName ( void  ) const [inline]

Get the name of this model.

Definition at line 153 of file model.h.

const std::vector<VirtualJoint>& srdf::Model::getVirtualJoints ( void  ) const [inline]

Get the list of virtual joints defined for this model.

Definition at line 171 of file model.h.

bool srdf::Model::initFile ( const urdf::ModelInterface urdf_model,
const std::string &  filename 
)

Load Model given a filename.

Definition at line 469 of file model.cpp.

bool srdf::Model::initString ( const urdf::ModelInterface urdf_model,
const std::string &  xmlstring 
)

Load Model from a XML-string.

Definition at line 492 of file model.cpp.

bool srdf::Model::initXml ( const urdf::ModelInterface urdf_model,
TiXmlElement *  xml 
)

Load Model from TiXMLElement.

Definition at line 428 of file model.cpp.

bool srdf::Model::initXml ( const urdf::ModelInterface urdf_model,
TiXmlDocument *  xml 
)

Load Model from TiXMLDocument.

Definition at line 457 of file model.cpp.

void srdf::Model::loadDisabledCollisions ( const urdf::ModelInterface urdf_model,
TiXmlElement *  robot_xml 
) [private]

Definition at line 401 of file model.cpp.

void srdf::Model::loadEndEffectors ( const urdf::ModelInterface urdf_model,
TiXmlElement *  robot_xml 
) [private]

Definition at line 354 of file model.cpp.

void srdf::Model::loadGroups ( const urdf::ModelInterface urdf_model,
TiXmlElement *  robot_xml 
) [private]

Definition at line 94 of file model.cpp.

void srdf::Model::loadGroupStates ( const urdf::ModelInterface urdf_model,
TiXmlElement *  robot_xml 
) [private]

Definition at line 267 of file model.cpp.

void srdf::Model::loadVirtualJoints ( const urdf::ModelInterface urdf_model,
TiXmlElement *  robot_xml 
) [private]

Definition at line 46 of file model.cpp.


Member Data Documentation

std::vector<std::pair<std::string, std::string> > srdf::Model::disabled_collisions_ [private]

Definition at line 204 of file model.h.

std::vector<EndEffector> srdf::Model::end_effectors_ [private]

Definition at line 203 of file model.h.

std::vector<GroupState> srdf::Model::group_states_ [private]

Definition at line 201 of file model.h.

std::vector<Group> srdf::Model::groups_ [private]

Definition at line 200 of file model.h.

std::string srdf::Model::name_ [private]

Definition at line 199 of file model.h.

Definition at line 202 of file model.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


srdf
Author(s): Ioan Sucan
autogenerated on Mon Aug 19 2013 11:02:22