Skip to content
Snippets Groups Projects
Commit b8634cc0 authored by Rohan Budhiraja's avatar Rohan Budhiraja
Browse files

[travis] synchronize

parent 313146af
No related branches found
Tags v3.1.0
No related merge requests found
......@@ -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);
}
......
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