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
Guilhem Saurel
hpp-rbprm-corba
Commits
ec3fe062
Commit
ec3fe062
authored
Mar 20, 2020
by
Pierre Fernbach
Browse files
Update to changes in gepetto-viewer loadObstacleModel API
parent
45768110
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hpp/corbaserver/rbprm/scenarios/abstract_path_planner.py
View file @
ec3fe062
...
...
@@ -109,7 +109,8 @@ class AbstractPathPlanner:
vf
=
ViewerFactory
(
self
.
ps
)
self
.
afftool
=
AffordanceTool
()
self
.
afftool
.
setAffordanceConfig
(
'Support'
,
[
0.5
,
0.03
,
0.00005
])
self
.
afftool
.
loadObstacleModel
(
env_package
,
env_name
,
"planning"
,
vf
,
reduceSizes
=
reduce_sizes
)
self
.
afftool
.
loadObstacleModel
(
"package://"
+
env_package
+
"/urdf/"
+
env_name
+
".urdf"
,
"planning"
,
vf
,
reduceSizes
=
reduce_sizes
)
try
:
self
.
v
=
vf
.
createViewer
(
displayArrows
=
True
)
self
.
pp
=
PathPlayer
(
self
.
v
)
...
...
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