Robot Dynamics Library
Classes | Namespaces | Functions
urdfreader.hpp File Reference
#include <rclcpp/rclcpp.hpp>
#include <rdl_dynamics/Model.hpp>
Include dependency graph for urdfreader.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RobotDynamics::Urdf::hydro::BodyHydroData
 Data struct for holding the hydro parameters for each body as they are parsed out of the URDF. More...
 

Namespaces

 RobotDynamics
 Namespace for all structures of the RobotDynamics library.
 
 RobotDynamics::Urdf
 
 RobotDynamics::Urdf::hydro
 

Functions

bool RobotDynamics::Urdf::hydro::parseHydrodynamicsParameters (const char *model_xml_string, std::map< std::string, hydro::BodyHydroData > &data, bool verbose=false)
 Parses an urdf and stores hydrodynamic data for each body in the data argument. More...
 
bool RobotDynamics::Urdf::urdfReadFromFile (const std::string &filename, ModelPtr model, JointType floating_base_rotation_joint_type=JointTypeSpherical, bool verbose=false)
 Read urdf from file path. More...
 
bool RobotDynamics::Urdf::urdfReadFromString (const std::string &model_xml_string, ModelPtr model, JointType floating_base_rotation_joint_type=JointTypeSpherical, bool verbose=false)
 Read urdf from string contents. More...
 
bool RobotDynamics::Urdf::parseJointBodyNameMapFromString (const std::string &model_xml_string, std::map< std::string, std::string > &jointBodyMap)
 This will build a map of joint name to body name. More...
 
bool RobotDynamics::Urdf::parseJointAndBodyNamesFromString (const std::string &model_xml_string, std::vector< std::string > &joint_names, std::vector< std::string > &body_names)
 This will build vectors of joint name and body name pairs. More...
 
bool RobotDynamics::Urdf::parseJointBodyNameMapFromFile (const std::string &filename, std::map< std::string, std::string > &jointBodyMap)
 This will build a map of joint name to body name. More...
 
bool RobotDynamics::Urdf::parseJointAndQIndex (const RobotDynamics::Model &model, const std::vector< std::string > &body_names, std::vector< unsigned int > &q_indices)
 This will build a vector of joint indices in the same order as the list of joints. More...
 
bool RobotDynamics::Urdf::parseJointAndQIndex (const std::string &model_xml_string, std::vector< unsigned int > &q_indices)
 This will build a vector of joint indices in the same order as the list of joints. More...