Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pinocchio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
pinocchio
Commits
98e6df60
Commit
98e6df60
authored
8 years ago
by
jcarpent
Browse files
Options
Downloads
Patches
Plain Diff
[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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/multibody/model.hpp
+2
-8
2 additions, 8 deletions
src/multibody/model.hpp
with
2 additions
and
8 deletions
src/multibody/model.hpp
+
2
−
8
View file @
98e6df60
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment