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-rbprm-corba
Commits
85b703fc
Commit
85b703fc
authored
Mar 26, 2020
by
Pierre Fernbach
Browse files
[Tools] surface from path: correctly use the argument max_surface_area
parent
24fcf3b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hpp/corbaserver/rbprm/tools/surfaces_from_path.py
View file @
85b703fc
...
...
@@ -163,7 +163,7 @@ def getSurfacesFromGuideContinuous(rbprmBuilder,
phase_surfaces
=
[]
for
name
in
phase_contacts_names
:
surface
=
surfaces_dict
[
name
][
0
]
if
useIntersection
and
area
(
surface
)
>
MAX_SURFACE
:
if
useIntersection
and
area
(
surface
)
>
max_surface_area
:
if
name
in
step_contacts
:
intersection
=
intersections
[
step_contacts
.
index
(
name
)]
if
len
(
intersection
)
>
3
:
...
...
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