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
49966792
Commit
49966792
authored
10 years ago
by
Nicolas Mansard
Committed by
Valenza Florian
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Explicitely added type Matrix4 in SE3.
parent
a8f6466d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/spatial/se3.hpp
+2
-1
2 additions, 1 deletion
src/spatial/se3.hpp
with
2 additions
and
1 deletion
src/spatial/se3.hpp
+
2
−
1
View file @
49966792
...
...
@@ -32,6 +32,7 @@ namespace se3
typedef
Eigen
::
Matrix
<
Scalar
,
4
,
1
,
Options
>
Vector4
;
typedef
Eigen
::
Matrix
<
Scalar
,
3
,
3
,
Options
>
Matrix3
;
typedef
Eigen
::
Matrix
<
Scalar
,
6
,
1
,
Options
>
Vector6
;
typedef
Eigen
::
Matrix
<
Scalar
,
4
,
4
,
Options
>
Matrix4
;
typedef
Eigen
::
Matrix
<
Scalar
,
6
,
6
,
Options
>
Matrix6
;
typedef
Eigen
::
Quaternion
<
Scalar
,
Options
>
Quaternion
;
typedef
MotionTpl
<
Scalar
,
Options
>
Motion
;
...
...
@@ -111,7 +112,7 @@ namespace se3
rot
.
transpose
()
*
(
m2
.
trans
-
trans
));}
/* --- OPERATORS -------------------------------------------------------- */
operator
Eigen
::
Matrix
<
Scalar
,
4
,
4
,
Options
>
()
const
{
return
toHomogeneousMatrix
();
}
operator
Matrix4
()
const
{
return
toHomogeneousMatrix
();
}
operator
Matrix6
()
const
{
return
toActionMatrix
();
}
SE3Tpl
operator
*
(
const
SE3Tpl
&
m2
)
const
{
return
this
->
act
(
m2
);
}
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
SE3Tpl
&
X
)
{
X
.
disp
(
os
);
return
os
;
}
...
...
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