-
Bug descriptionWhen loading a model that includes floating joints, the template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
typename PINOCCHIO_EIGEN_PLAIN_TYPE_NO_PARENS(
(typename ModelTpl<Scalar, Options, JointCollectionTpl>::ConfigVectorType))
randomConfiguration(const ModelTpl<Scalar, Options, JointCollectionTpl> & model)
{
return randomConfiguration<LieGroupMap, Scalar, Options, JointCollectionTpl>(model);
} The error
Expected behaviorThe Reproduction stepsSteps to reproduce the behavior:
CodeModel model;
pinocchio::urdf::buildModel(urdf_filename, model);
Eigen::VectorXd q = pinocchio::randomConfiguration(model); |
Beta Was this translation helpful? Give feedback.
Answered by
jcarpent
Feb 15, 2025
Replies: 1 comment
-
By default, translation components of the in |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jcarpent
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default, translation components of the in
model.lowerPositionLimit
andmodel.upperPositionLimit
are set to infinity for floating joints. You need to manually set them up after loading your robot model to some relevant values for your application.