5 #ifdef PINOCCHIO_WITH_SDFORMAT
11 #include <boost/python.hpp>
12 #include <boost/python/tuple.hpp>
21 #ifdef PINOCCHIO_WITH_SDFORMAT
22 bp::tuple buildModelFromSdf(
23 const bp::object & filename,
24 const std::string & root_link_name,
25 const std::vector<std::string> & parent_guidance)
34 bp::tuple buildModelFromSdf(
35 const bp::object & filename,
37 const std::string & root_link_name,
38 const std::vector<std::string> & parent_guidance)
47 bp::tuple buildModelFromSdf(
48 const bp::object & filename,
50 const std::string & root_link_name,
51 const std::string & root_joint_name,
52 const std::vector<std::string> & parent_guidance)
65 #ifdef PINOCCHIO_WITH_SDFORMAT
68 static_cast<bp::tuple (*)(
69 const bp::object &,
const std::string &,
const std::vector<std::string> &)
>(
70 pinocchio::python::buildModelFromSdf),
71 (bp::arg(
"sdf_filename"), bp::arg(
"root_link_name"),
72 bp::arg(
"parent_guidance") = bp::list()),
73 "Parse the SDF file given in input and return a pinocchio Model and constraint models.");
77 static_cast<bp::tuple (*)(
78 const bp::object &,
const JointModel &,
const std::string &,
79 const std::vector<std::string> &)
>(pinocchio::python::buildModelFromSdf),
80 (bp::arg(
"sdf_filename"), bp::arg(
"root_joint"), bp::arg(
"root_link_name"),
81 bp::arg(
"parent_guidance") = bp::list()),
82 "Parse the SDF file given in input and return a pinocchio Model and constraint "
83 "models starting with the given root joint.");
87 static_cast<bp::tuple (*)(
88 const bp::object &,
const JointModel &,
const std::string &,
const std::string &,
89 const std::vector<std::string> &)
>(pinocchio::python::buildModelFromSdf),
90 (bp::arg(
"sdf_filename"), bp::arg(
"root_joint"), bp::arg(
"root_link_name"),
91 bp::arg(
"root_joint_name"), bp::arg(
"parent_guidance") = bp::list()),
92 "Parse the SDF file given in input and return a pinocchio Model and constraint "
93 "models starting with the given root joint and its specified name.");