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
b3429ac9
Verified
Commit
b3429ac9
authored
Apr 01, 2021
by
Justin Carpentier
Browse files
python: expose operator{==,!=} for GeometryData
parent
e791a812
Changes
2
Show whitespace changes
Inline
Side-by-side
bindings/python/multibody/geometry-data.hpp
View file @
b3429ac9
...
...
@@ -123,6 +123,10 @@ namespace pinocchio
setSecurityMargins_overload
(
bp
::
args
(
"self"
,
"geometry_model"
,
"security_margin_map"
,
"upper"
),
"Set the security margin of all the collision request in a row, according to the values stored in the associative map."
))
#endif // PINOCCHIO_WITH_HPP_FCL
.
def
(
bp
::
self
==
bp
::
self
)
.
def
(
bp
::
self
!=
bp
::
self
)
;
}
...
...
src/multibody/fcl.hpp
View file @
b3429ac9
...
...
@@ -59,6 +59,7 @@ namespace pinocchio
CollisionPair
(
const
GeomIndex
co1
,
const
GeomIndex
co2
);
bool
operator
==
(
const
CollisionPair
&
rhs
)
const
;
bool
operator
!=
(
const
CollisionPair
&
rhs
)
const
;
void
disp
(
std
::
ostream
&
os
)
const
;
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
CollisionPair
&
X
);
...
...
Write
Preview
Markdown
is supported
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