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
694404b5
Verified
Commit
694404b5
authored
Mar 25, 2021
by
Justin Carpentier
Browse files
geometry: remove useless ref
parent
52460532
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multibody/geometry.hxx
View file @
694404b5
...
...
@@ -194,10 +194,10 @@ namespace pinocchio
removeAllCollisionPairs
();
for
(
GeomIndex
i
=
0
;
i
<
ngeoms
;
++
i
)
{
const
JointIndex
&
joint_i
=
geometryObjects
[
i
].
parentJoint
;
const
JointIndex
joint_i
=
geometryObjects
[
i
].
parentJoint
;
for
(
GeomIndex
j
=
i
+
1
;
j
<
ngeoms
;
++
j
)
{
const
JointIndex
&
joint_j
=
geometryObjects
[
j
].
parentJoint
;
const
JointIndex
joint_j
=
geometryObjects
[
j
].
parentJoint
;
if
(
joint_i
!=
joint_j
)
addCollisionPair
(
CollisionPair
(
i
,
j
));
}
...
...
@@ -217,7 +217,7 @@ namespace pinocchio
if
(
it
!=
collisionPairs
.
end
())
{
collisionPairs
.
erase
(
it
);
}
}
inline
void
GeometryModel
::
removeAllCollisionPairs
()
{
collisionPairs
.
clear
();
}
inline
void
GeometryModel
::
removeAllCollisionPairs
()
{
collisionPairs
.
clear
();
}
inline
bool
GeometryModel
::
existCollisionPair
(
const
CollisionPair
&
pair
)
const
{
...
...
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