Template Function pinocchio::urdf::buildModel(const boost::shared_ptr<::urdf::ModelInterface>, ModelTpl<Scalar, Options, JointCollectionTpl>&, const bool)
Defined in File model.hxx
Function Documentation
-
template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
ModelTpl<Scalar, Options, JointCollectionTpl> &pinocchio::urdf::buildModel(const boost::shared_ptr<::urdf::ModelInterface> urdfTree, ModelTpl<Scalar, Options, JointCollectionTpl> &model, const bool verbose = false) Build the model from a URDF model.
Note
urdfTree can be build from ::urdf::parseURDF or ::urdf::parseURDFFile
- Parameters:
urdfTree – [in] the tree build from the URDF
verbose – [in] Print parsing info.
model – [out] Reference model where to put the parsed information.
- Returns:
Return the reference on argument model for convenience.