Drake
parser_sdf.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <map>
4 #include <string>
5 
6 #include "drake/drakeRBM_export.h"
10 #include "drake/thirdParty/zlib/tinyxml2/tinyxml2.h"
11 
12 namespace drake {
13 namespace parsers {
14 namespace sdf {
15 
16 // TODO(liang.fok) Replace this method with one that returns a Model object.
17 //
30 DRAKERBM_EXPORT
32  const std::string& sdf_filename,
33  const DrakeJoint::FloatingBaseType floating_base_type, RigidBodyTree* tree);
34 
35 // TODO(liang.fok) Replace this method with one that returns a Model object.
36 //
50 DRAKERBM_EXPORT
51 void AddRobotFromSDF(const std::string& sdf_filename,
52  const DrakeJoint::FloatingBaseType floating_base_type,
53  std::shared_ptr<RigidBodyFrame> weld_to_frame,
55 
56 } // namespace sdf
57 } // namespace parsers
58 } // namespace drake
void AddRobotFromSDF(const string &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.
Definition: parser_sdf.cc:766
Definition: constants.h:3
FloatingBaseType
Definition: DrakeJoint.h:50
void AddRobotFromSDFInWorldFrame(const string &filename, const DrakeJoint::FloatingBaseType floating_base_type, RigidBodyTree *tree)
Adds a SDF model to a rigid body system.
Definition: parser_sdf.cc:759
std::unique_ptr< RigidBodyTree > tree
Definition: rigid_body_tree_test.cc:43
Definition: RigidBodyTree.h:72