Functions
kdl_parser Namespace Reference

Functions

bool addChildrenToTree (boost::shared_ptr< const urdf::Link > root, Tree &tree)
Vector toKdl (urdf::Vector3 v)
Rotation toKdl (urdf::Rotation r)
Frame toKdl (urdf::Pose p)
Joint toKdl (boost::shared_ptr< urdf::Joint > jnt)
RigidBodyInertia toKdl (boost::shared_ptr< urdf::Inertial > i)
bool treeFromFile (const std::string &file, KDL::Tree &tree)
bool treeFromFile (const string &file, Tree &tree)
bool treeFromParam (const std::string &param, KDL::Tree &tree)
bool treeFromParam (const string &param, Tree &tree)
bool treeFromString (const std::string &xml, KDL::Tree &tree)
bool treeFromString (const string &xml, Tree &tree)
bool treeFromUrdfModel (const urdf::ModelInterface &robot_model, KDL::Tree &tree)
bool treeFromXml (TiXmlDocument *xml_doc, KDL::Tree &tree)

Function Documentation

bool kdl_parser::addChildrenToTree ( boost::shared_ptr< const urdf::Link >  root,
Tree tree 
)

Definition at line 105 of file kdl_parser.cpp.

Vector kdl_parser::toKdl ( urdf::Vector3  v)

Definition at line 49 of file kdl_parser.cpp.

Rotation kdl_parser::toKdl ( urdf::Rotation  r)

Definition at line 55 of file kdl_parser.cpp.

Definition at line 61 of file kdl_parser.cpp.

Joint kdl_parser::toKdl ( boost::shared_ptr< urdf::Joint >  jnt)

Definition at line 67 of file kdl_parser.cpp.

RigidBodyInertia kdl_parser::toKdl ( boost::shared_ptr< urdf::Inertial >  i)

Definition at line 96 of file kdl_parser.cpp.

bool kdl_parser::treeFromFile ( const std::string &  file,
KDL::Tree tree 
)

Constructs a KDL tree from a file, given the file name

Parameters:
fileThe filename from where to read the xml
treeThe resulting KDL Tree returns true on success, false on failure
bool kdl_parser::treeFromFile ( const string &  file,
Tree tree 
)

Definition at line 133 of file kdl_parser.cpp.

bool kdl_parser::treeFromParam ( const std::string &  param,
KDL::Tree tree 
)

Constructs a KDL tree from the parameter server, given the parameter name

Parameters:
paramthe name of the parameter on the parameter server
treeThe resulting KDL Tree returns true on success, false on failure
bool kdl_parser::treeFromParam ( const string &  param,
Tree tree 
)

Definition at line 140 of file kdl_parser.cpp.

bool kdl_parser::treeFromString ( const std::string &  xml,
KDL::Tree tree 
)

Constructs a KDL tree from a string containing xml

Parameters:
xmlA string containting the xml description of the robot
treeThe resulting KDL Tree returns true on success, false on failure
bool kdl_parser::treeFromString ( const string &  xml,
Tree tree 
)

Definition at line 150 of file kdl_parser.cpp.

bool kdl_parser::treeFromUrdfModel ( const urdf::ModelInterface &  robot_model,
KDL::Tree tree 
)

Constructs a KDL tree from a URDF robot model

Parameters:
robot_modelThe URDF robot model
treeThe resulting KDL Tree returns true on success, false on failure

Definition at line 168 of file kdl_parser.cpp.

bool kdl_parser::treeFromXml ( TiXmlDocument *  xml_doc,
KDL::Tree tree 
)

Constructs a KDL tree from a TiXmlDocument

Parameters:
xml_docThe TiXmlDocument containting the xml description of the robot
treeThe resulting KDL Tree returns true on success, false on failure

Definition at line 157 of file kdl_parser.cpp.



kdl_parser
Author(s): Wim Meeussen
autogenerated on Thu Aug 27 2015 14:41:08