Template Function pinocchio::srdf::loadRotorParameters

Function Documentation

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

Load the rotor params of a given model associated to a SRDF file. It throws if the SRDF file is incorrect.

Parameters:
  • model[in] The Model for which we want the rotor parmeters

  • filename[in] The complete path to the SRDF file.

  • verbose[in] Verbosity mode.

Returns:

Boolean whether it loads or not.