Skip to content
Snippets Groups Projects
Commit 98e6df60 authored by jcarpent's avatar jcarpent
Browse files

[C++] Set Data and Model are no more class but struct

parent 8c0a3cd5
No related branches found
No related tags found
No related merge requests found
...@@ -40,12 +40,8 @@ EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(se3::SE3::Vector3) ...@@ -40,12 +40,8 @@ EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(se3::SE3::Vector3)
namespace se3 namespace se3
{ {
class Model; struct Model
class Data;
class Model
{ {
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW EIGEN_MAKE_ALIGNED_OPERATOR_NEW
typedef se3::Index Index; typedef se3::Index Index;
typedef se3::JointIndex JointIndex; typedef se3::JointIndex JointIndex;
...@@ -351,9 +347,8 @@ namespace se3 ...@@ -351,9 +347,8 @@ namespace se3
void addJointIndexToParentSubtrees(const JointIndex joint_id); void addJointIndexToParentSubtrees(const JointIndex joint_id);
}; };
class Data struct Data
{ {
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW EIGEN_MAKE_ALIGNED_OPERATOR_NEW
/// \brief The 6d jacobian type (temporary) /// \brief The 6d jacobian type (temporary)
typedef Eigen::Matrix<double,6,Eigen::Dynamic> Matrix6x; typedef Eigen::Matrix<double,6,Eigen::Dynamic> Matrix6x;
...@@ -361,7 +356,6 @@ namespace se3 ...@@ -361,7 +356,6 @@ namespace se3
typedef Eigen::Matrix<double,3,Eigen::Dynamic> Matrix3x; typedef Eigen::Matrix<double,3,Eigen::Dynamic> Matrix3x;
typedef SE3::Vector3 Vector3; typedef SE3::Vector3 Vector3;
public:
/// \brief Vector of se3::JointData associated to the se3::JointModel stored in model, encapsulated in JointDataAccessor. /// \brief Vector of se3::JointData associated to the se3::JointModel stored in model, encapsulated in JointDataAccessor.
JointDataVector joints; JointDataVector joints;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment