Template Function pinocchio::srdf::loadReferenceConfigurations

Function Documentation

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

Get the reference configurations of a given model associated to a SRDF file. It throws if the SRDF file is incorrect. The reference configurations are saved in a map indexed by the configuration name (model.referenceConfigurations).

Parameters:
  • model[in] The Model for which we want the reference configs.

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

  • verbose[in] Verbosity mode.