Go to the documentation of this file.
5 #ifdef PINOCCHIO_WITH_URDFDOM
11 #include <boost/python.hpp>
20 #ifdef PINOCCHIO_WITH_URDFDOM
22 Model buildModelFromUrdf(
const std::string & filename)
34 Model buildModelFromUrdf(
const std::string & filename,
const JointModel & root_joint)
79 #ifdef PINOCCHIO_WITH_URDFDOM
84 pinocchio::python::buildModelFromUrdf),
85 bp::args(
"urdf_filename",
"root_joint"),
86 "Parse the URDF file given in input and return a pinocchio Model starting with the "
91 static_cast<Model (*)(
const std::string &)
>(pinocchio::python::buildModelFromUrdf),
92 bp::args(
"urdf_filename"),
93 "Parse the URDF file given in input and return a pinocchio Model.");
97 static_cast<Model & (*)(
const std::string &,
Model &)
>(
98 pinocchio::python::buildModelFromUrdf),
99 bp::args(
"urdf_filename",
"model"),
100 "Append to a given model a URDF structure given by its filename.",
101 bp::return_internal_reference<2>());
104 "buildModelFromUrdf",
106 pinocchio::python::buildModelFromUrdf),
107 bp::args(
"urdf_filename",
"root_joint",
"model"),
108 "Append to a given model a URDF structure given by its filename and the root joint.\n"
109 "Remark: In the URDF format, a joint of type fixed can be defined. For efficiency reasons,"
110 "it is treated as operational frame and not as a joint of the model.",
111 bp::return_internal_reference<3>());
117 bp::args(
"urdf_xml_stream",
"root_joint"),
118 "Parse the URDF XML stream given in input and return a pinocchio Model starting with "
119 "the given root joint.");
125 bp::args(
"urdf_xml_stream",
"root_joint",
"model"),
126 "Parse the URDF XML stream given in input and append it to the input model with the "
127 "given interfacing joint.",
128 bp::return_internal_reference<3>());
133 bp::args(
"urdf_xml_stream"),
134 "Parse the URDF XML stream given in input and return a pinocchio Model.");
138 static_cast<Model & (*)(
const std::string &,
Model &)
>(
140 bp::args(
"urdf_xml_stream",
"model"),
141 "Parse the URDF XML stream given in input and append it to the input model.",
142 bp::return_internal_reference<2>());
ModelTpl< Scalar, Options, JointCollectionTpl > & buildModelFromXML(const std::string &xmlStream, const typename ModelTpl< Scalar, Options, JointCollectionTpl >::JointModel &rootJoint, ModelTpl< Scalar, Options, JointCollectionTpl > &model, const bool verbose=false)
Build the model from an XML stream with a particular joint as root of the model tree inside the model...
ModelTpl< Scalar, Options, JointCollectionTpl > & buildModel(const std::string &filename, const typename ModelTpl< Scalar, Options, JointCollectionTpl >::JointModel &rootJoint, ModelTpl< Scalar, Options, JointCollectionTpl > &model, const bool verbose=false)
Build the model from a URDF file with a particular joint as root of the model tree inside the model g...
JointModelTpl< context::Scalar > JointModel
ModelTpl< Scalar, Options, JointCollectionTpl > & buildModelFromXML(const std::string &xml_stream, const typename ModelTpl< Scalar, Options, JointCollectionTpl >::JointModel &rootJoint, ModelTpl< Scalar, Options, JointCollectionTpl > &model, const bool verbose=false)
Build the model from an XML stream with a particular joint as root of the model tree inside the model...
ModelTpl< context::Scalar, context::Options > Model
JointCollectionTpl & model
Main pinocchio namespace.
pinocchio
Author(s):
autogenerated on Sat Jun 1 2024 02:40:37