Template Function pinocchio::urdf::buildModel(const std::string&, ModelTpl<Scalar, Options, JointCollectionTpl>&, const bool)

Function Documentation

template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
ModelTpl<Scalar, Options, JointCollectionTpl> &pinocchio::urdf::buildModel(const std::string &filename, ModelTpl<Scalar, Options, JointCollectionTpl> &model, const bool verbose = false)

Build the model from a URDF file with a fixed joint as root of the model tree.

Parameters:
  • filename[in] The URDF complete file path.

  • verbose[in] Print parsing info.

  • model[out] Reference model where to put the parsed information.

Returns:

Return the reference on argument model for convenience.