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
231aeebe
Commit
231aeebe
authored
Sep 06, 2016
by
Joseph Mirabel
Committed by
Joseph Mirabel
Sep 06, 2016
Browse files
[C++] Fix assert
parent
1d0039d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multibody/model.hxx
View file @
231aeebe
...
...
@@ -117,7 +117,7 @@ namespace se3
if
(
previousFrame
<
0
)
{
previousFrame
=
getFrameId
(
names
[
parentJoint
]);
}
assert
(
previousFrame
>=
frames
.
size
()
&&
"Frame index out of bound"
);
assert
(
previousFrame
<
frames
.
size
()
&&
"Frame index out of bound"
);
addFrame
(
Frame
(
body_name
,
parentJoint
,
previousFrame
,
body_placement
,
BODY
));
return
frames
.
size
()
-
1
;
}
...
...
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