Drake
drake::parsers::sdf Namespace Reference

Functions

void AddRobotFromSDFInWorldFrame (const std::string &sdf_filename, const DrakeJoint::FloatingBaseType floating_base_type, RigidBodyTree *tree)
 Adds a SDF model to a rigid body system. More...
 
void AddRobotFromSDF (const std::string &sdf_filename, const DrakeJoint::FloatingBaseType floating_base_type, std::shared_ptr< RigidBodyFrame > weld_to_frame, RigidBodyTree *tree)
 Adds a SDF model to a rigid body system. More...
 

Function Documentation

DRAKERBM_EXPORT void AddRobotFromSDF ( const std::string &  sdf_filename,
const DrakeJoint::FloatingBaseType  floating_base_type,
std::shared_ptr< RigidBodyFrame weld_to_frame,
RigidBodyTree tree 
)

Adds a SDF model to a rigid body system.

Parameters
[in]urdf_filenameThe URDF file containing the model to be added.
[in]package_mapA map of ROS package names to their paths. These are the packages to search through when finding files referenced in the URDF.
[in]floating_base_typeThe type of joint that connects the model's root to the existing rigid body tree.
[in]weld_to_frameThe frame to which to connect the new model.
[out]treeThe rigid body tree to which to add the model.

Here is the call graph for this function:

Here is the caller graph for this function:

DRAKERBM_EXPORT void AddRobotFromSDFInWorldFrame ( const std::string &  sdf_filename,
const DrakeJoint::FloatingBaseType  floating_base_type,
RigidBodyTree tree 
)

Adds a SDF model to a rigid body system.

The model's frame is equal to the world's coordinate frame.

Parameters
[in]urdf_filenameThe URDF file containing the model to be added.
[in]package_mapA map of ROS package names to their paths. These are the packages to search through when finding files referenced in the URDF.
[in]floating_base_typeThe type of joint that connects the model's root to the existing rigid body tree.
[out]treeThe rigid body tree to which to add the model.

Here is the call graph for this function: