Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-fcl
Commits
ca8fecc2
Commit
ca8fecc2
authored
Mar 24, 2020
by
Joseph Mirabel
Browse files
Fix Python bindings.
parent
ec481154
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/collision.cc
View file @
ca8fecc2
...
...
@@ -104,8 +104,14 @@ void exposeCollisionAPI ()
.
DEF_RO_CLASS_ATTRIB
(
Contact
,
o2
)
.
DEF_RW_CLASS_ATTRIB
(
Contact
,
b1
)
.
DEF_RW_CLASS_ATTRIB
(
Contact
,
b2
)
.
DEF_RW_CLASS_ATTRIB
(
Contact
,
normal
)
.
DEF_RW_CLASS_ATTRIB
(
Contact
,
pos
)
.
add_property
(
"normal"
,
make_getter
(
&
Contact
::
normal
,
return_value_policy
<
return_by_value
>
()),
make_setter
(
&
Contact
::
normal
,
return_value_policy
<
return_by_value
>
()),
doxygen
::
class_attrib_doc
<
Contact
>
(
"normal"
))
.
add_property
(
"pos"
,
make_getter
(
&
Contact
::
pos
,
return_value_policy
<
return_by_value
>
()),
make_setter
(
&
Contact
::
pos
,
return_value_policy
<
return_by_value
>
()),
doxygen
::
class_attrib_doc
<
Contact
>
(
"pos"
))
.
DEF_RW_CLASS_ATTRIB
(
Contact
,
penetration_depth
)
.
def
(
self
==
self
)
.
def
(
self
!=
self
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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