Unverified Commit d8c3120c authored by Joseph Mirabel's avatar Joseph Mirabel Committed by GitHub
Browse files

[minor] Fix error message in Model::addFrame

parent b134b25f
Pipeline #15134 passed with stage
in 164 minutes and 27 seconds
...@@ -279,7 +279,7 @@ namespace pinocchio ...@@ -279,7 +279,7 @@ namespace pinocchio
addFrame(const Frame & frame, const bool append_inertia) addFrame(const Frame & frame, const bool append_inertia)
{ {
PINOCCHIO_CHECK_INPUT_ARGUMENT(frame.parent < (JointIndex)njoints, PINOCCHIO_CHECK_INPUT_ARGUMENT(frame.parent < (JointIndex)njoints,
"The index of the parent frame is not valid."); "The index of the parent joint is not valid.");
// TODO: fix it // TODO: fix it
// PINOCCHIO_CHECK_INPUT_ARGUMENT(frame.inertia.isValid(), // PINOCCHIO_CHECK_INPUT_ARGUMENT(frame.inertia.isValid(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment