Commit 343e98a4 authored by jcarpent's avatar jcarpent
Browse files

[Joints] Fix bug - handle alignment issue with vector of joints

parent df159ccf
......@@ -41,13 +41,6 @@ namespace se3
typedef boost::variant< JointModelRX, JointModelRY, JointModelRZ, JointModelRevoluteUnaligned, JointModelSpherical, JointModelSphericalZYX, JointModelPX, JointModelPY, JointModelPZ, JointModelPrismaticUnaligned, JointModelFreeFlyer, JointModelPlanar, JointModelTranslation, JointModelDense<-1,-1>, JointModelRUBX, JointModelRUBY, JointModelRUBZ > JointModelVariant;
typedef boost::variant< JointDataRX, JointDataRY, JointDataRZ, JointDataRevoluteUnaligned, JointDataSpherical, JointDataSphericalZYX, JointDataPX, JointDataPY, JointDataPZ, JointDataPrismaticUnaligned, JointDataFreeFlyer, JointDataPlanar, JointDataTranslation, JointDataDense<-1,-1>, JointDataRUBX, JointDataRUBY, JointDataRUBZ > JointDataVariant;
typedef std::vector<JointModelVariant> JointModelVariantVector;
typedef std::vector<JointDataVariant> JointDataVariantVector;
} // namespace se3
EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(se3::JointModelVariant)
EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(se3::JointDataVariant)
#endif // ifndef __se3_joint_variant_hpp__
......@@ -167,5 +167,7 @@ namespace se3
} // namespace se3
EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(se3::JointModel)
EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(se3::JointData)
#endif // ifndef __se3_joint_model_hpp__
Supports Markdown
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