Verified Commit a41cdfbd authored by Justin Carpentier's avatar Justin Carpentier
Browse files

test/joint: fix initialization of JointModelRevoluteUnboundedUnaligned

parent 3af079b5
......@@ -101,6 +101,21 @@ struct init<pinocchio::JointModelRevoluteUnalignedTpl<Scalar,Options> >
}
};
template<typename Scalar, int Options>
struct init<pinocchio::JointModelRevoluteUnboundedUnalignedTpl<Scalar,Options> >
{
typedef pinocchio::JointModelRevoluteUnboundedUnalignedTpl<Scalar,Options> JointModel;
static JointModel run()
{
typedef typename JointModel::Vector3 Vector3;
JointModel jmodel(Vector3::Random().normalized());
jmodel.setIndexes(0,0,0);
return jmodel;
}
};
template<typename Scalar, int Options>
struct init<pinocchio::JointModelPrismaticUnalignedTpl<Scalar,Options> >
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment