Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
86fb541d
Commit
86fb541d
authored
Apr 28, 2018
by
jcarpent
Browse files
[Spatial] Fix bug related to 16.04 & 17.10
parent
cce07756
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/spatial/inertia.hpp
View file @
86fb541d
...
...
@@ -407,10 +407,11 @@ namespace se3
//// Block 2,2
skewSquare
(
-
v
.
linear
(),
mc
,
Iout_
.
template
block
<
3
,
3
>(
ANGULAR
,
ANGULAR
));
typename
Symmetric3
::
AlphaSkewSquare
mcxcx
(
I
.
mass
(),
I
.
lever
());
//
typename Symmetric3::AlphaSkewSquare mcxcx(I.mass(),I.lever());
// const Symmetric3 I_mcxcx(I.inertia() - mcxcx);
Symmetric3
I_mcxcx
(
I
.
inertia
());
I_mcxcx
-=
mcxcx
;
Iout_
.
template
block
<
3
,
3
>(
ANGULAR
,
ANGULAR
)
+=
I_mcxcx
.
vxs
(
v
.
angular
());
Symmetric3
mcxcx
(
typename
Symmetric3
::
AlphaSkewSquare
(
I
.
mass
(),
I
.
lever
()));
Iout_
.
template
block
<
3
,
3
>(
ANGULAR
,
ANGULAR
)
+=
I
.
inertia
().
vxs
(
v
.
angular
());
Iout_
.
template
block
<
3
,
3
>(
ANGULAR
,
ANGULAR
)
-=
mcxcx
.
vxs
(
v
.
angular
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment