Skip to content
GitLab
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
sot-dynamic-pinocchio
Commits
b8634cc0
Commit
b8634cc0
authored
Apr 15, 2016
by
Rohan Budhiraja
Browse files
[travis] synchronize
parent
313146af
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sot-dynamic.cpp
View file @
b8634cc0
...
...
@@ -576,7 +576,8 @@ void Dynamic::setInertiaMatrix(const std::string& inBodyName,
"No body with name "
+
inBodyName
+
" has been added."
);
se3
::
Model
::
Index
index
=
m_model
.
getBodyId
(
inBodyName
);
se3
::
Symmetric3
symmetricMatrix
(
inertia3
);
Eigen
::
Matrix3d
inertia_3d
(
inertia3
);
se3
::
Symmetric3
symmetricMatrix
(
inertia_3d
);
m_model
.
inertias
[
index
].
inertia
()
=
symmetricMatrix
;
sotDEBUGOUT
(
15
);
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment