Unverified Commit d875192f authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #834 from jcarpent/devel

test: fix serialization for JointModelRevoluteUnboundedUnalignedTpl
parents 82ce106f 669136b0
......@@ -16,6 +16,7 @@ env:
- DO_CPPCHECK_ON_BRANCH=""
- DO_INSTALL_DOC_EXCEPT_ON_BRANCH=""
- BUILDTYPE=MinSizeRel
- BUILD_WITH_CATKIN_SUPPORT=false
notifications:
email:
......
......@@ -119,6 +119,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