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
Jason Chemin
hpp-rbprm-corba
Commits
b884ddd3
Commit
b884ddd3
authored
Jun 28, 2018
by
t steve
Browse files
updated slalom
parent
5d092e97
Changes
2
Hide whitespace changes
Inline
Side-by-side
script/dynamic/slalom_bauzil_hrp2_interp.py
View file @
b884ddd3
...
...
@@ -14,7 +14,8 @@ rootJointType = "freeflyer"
##
# Information to retrieve urdf and srdf files.
urdfName
=
"hrp2_14"
urdfSuffix
=
"_reduced_safe"
#~ urdfSuffix = "_reduced_safe"
urdfSuffix
=
"_reduced"
srdfSuffix
=
""
pId
=
tp
.
ps
.
numberPaths
()
-
1
fullBody
=
FullBody
()
...
...
script/dynamic/slalom_bauzil_hrp2_path.py
View file @
b884ddd3
...
...
@@ -84,7 +84,7 @@ r = Viewer (ps)
from
hpp.corbaserver.affordance.affordance
import
AffordanceTool
afftool
=
AffordanceTool
()
afftool
.
setAffordanceConfig
(
'Support'
,
[
0.5
,
0.03
,
0.2
])
afftool
.
loadObstacleModel
(
'hpp-rbprm-corba'
,
"floor_bauzil"
,
"planning"
,
r
,
reduceSizes
=
[
0.2
,
0
,
0
])
afftool
.
loadObstacleModel
(
'hpp-rbprm-corba'
,
"floor_bauzil"
,
"planning"
,
r
,
reduceSizes
=
[
0.2
,
0
.
,
0
.
])
#r.loadObstacleModel (packageName, "ground", "planning")
#afftool.visualiseAffordances('Support', r,r.color.lightYellow)
r
.
addLandmark
(
r
.
sceneName
,
1
)
...
...
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