6 #ifndef __pinocchio_parsers_urdf_hpp__
7 #define __pinocchio_parsers_urdf_hpp__
40 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
41 ModelTpl<Scalar, Options, JointCollectionTpl> &
buildModel(
42 const std::string & filename,
44 const std::string & rootJointName,
45 ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
46 const bool verbose =
false,
47 const bool mimic =
false);
60 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
61 ModelTpl<Scalar, Options, JointCollectionTpl> &
buildModel(
62 const std::string & filename,
64 ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
65 const bool verbose =
false,
66 const bool mimic =
false);
77 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
78 ModelTpl<Scalar, Options, JointCollectionTpl> &
buildModel(
79 const std::string & filename,
80 ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
81 const bool verbose =
false,
82 const bool mimic =
false);
97 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
98 ModelTpl<Scalar, Options, JointCollectionTpl> &
buildModel(
99 const std::shared_ptr<::urdf::ModelInterface> urdfTree,
101 ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
102 const bool verbose =
false,
103 const bool mimic =
false);
119 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
120 ModelTpl<Scalar, Options, JointCollectionTpl> &
buildModel(
121 const std::shared_ptr<::urdf::ModelInterface> urdfTree,
123 const std::string & rootJointName,
124 ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
125 const bool verbose =
false,
126 const bool mimic =
false);
139 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
140 ModelTpl<Scalar, Options, JointCollectionTpl> &
buildModel(
141 const std::shared_ptr<::urdf::ModelInterface> urdfTree,
142 ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
143 const bool verbose =
false,
144 const bool mimic =
false);
160 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
162 const std::string & xml_stream,
164 const std::string & rootJointName,
165 ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
166 const bool verbose =
false,
167 const bool mimic =
false);
182 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
184 const std::string & xml_stream,
186 ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
187 const bool verbose =
false,
188 const bool mimic =
false);
201 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
203 const std::string & xml_stream,
204 ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
205 const bool verbose =
false,
206 const bool mimic =
false);
232 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
234 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
235 const std::string & filename,
238 const std::vector<std::string> & package_paths = std::vector<std::string>(),
264 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
267 const std::string & filename,
270 const std::string & package_path,
274 const std::vector<std::string> dirs(1, package_path);
302 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
305 const std::istream & xml_stream,
308 const std::vector<std::string> & package_paths = std::vector<std::string>(),
334 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
337 const std::istream & xml_stream,
340 const std::string & package_path,
344 const std::vector<std::string> dirs(1, package_path);
351 #include "pinocchio/parsers/urdf/model.hxx"
352 #include "pinocchio/parsers/urdf/geometry.hxx"
354 #endif // ifndef __pinocchio_parsers_urdf_hpp__