Skip to content
Snippets Groups Projects
Commit ef89cab1 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[scripts] change packages of environment in scripts

parent a6ed75eb
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ vf = ViewerFactory (ps) ...@@ -28,7 +28,7 @@ vf = ViewerFactory (ps)
from hpp.corbaserver.affordance.affordance import AffordanceTool from hpp.corbaserver.affordance.affordance import AffordanceTool
afftool = AffordanceTool () afftool = AffordanceTool ()
#~ afftool.loadObstacleModel (packageName, "darpa", "planning", r, reduceSizes=[0.05,0.,0.]) #~ afftool.loadObstacleModel (packageName, "darpa", "planning", r, reduceSizes=[0.05,0.,0.])
afftool.loadObstacleModel ("hpp-rbprm-corba", "darpa", "planning", vf,reduceSizes=[0.1,0,0]) afftool.loadObstacleModel("hpp_environments", "multicontact/darpa", "planning", vf,reduceSizes=[0.1,0,0])
v = vf.createViewer() v = vf.createViewer()
#afftool.visualiseAffordances('Support', v, [0.25, 0.5, 0.5]) #afftool.visualiseAffordances('Support', v, [0.25, 0.5, 0.5])
......
...@@ -52,7 +52,7 @@ vf = ViewerFactory (ps) ...@@ -52,7 +52,7 @@ vf = ViewerFactory (ps)
from hpp.corbaserver.affordance.affordance import AffordanceTool from hpp.corbaserver.affordance.affordance import AffordanceTool
afftool = AffordanceTool () afftool = AffordanceTool ()
afftool.setAffordanceConfig('Support', [0.5, 0.03, 0.00005]) afftool.setAffordanceConfig('Support', [0.5, 0.03, 0.00005])
afftool.loadObstacleModel ("hpp-rbprm-corba", "slalom_debris", "planning", vf,reduceSizes=[0.05,0,0]) afftool.loadObstacleModel ("hpp_environments", "multicontact/slalom_debris", "planning", vf,reduceSizes=[0.05,0,0])
v = vf.createViewer(displayArrows = True) v = vf.createViewer(displayArrows = True)
#afftool.visualiseAffordances('Support', v, v.color.lightBrown) #afftool.visualiseAffordances('Support', v, v.color.lightBrown)
......
...@@ -47,7 +47,7 @@ vf = ViewerFactory (ps) ...@@ -47,7 +47,7 @@ vf = ViewerFactory (ps)
from hpp.corbaserver.affordance.affordance import AffordanceTool from hpp.corbaserver.affordance.affordance import AffordanceTool
afftool = AffordanceTool () afftool = AffordanceTool ()
afftool.setAffordanceConfig('Support', [0.5, 0.03, 0.00005]) afftool.setAffordanceConfig('Support', [0.5, 0.03, 0.00005])
afftool.loadObstacleModel ("hpp-rbprm-corba", "ground", "planning", vf) afftool.loadObstacleModel ("hpp_environments", "multicontact/ground", "planning", vf)
v = vf.createViewer(displayArrows = True) v = vf.createViewer(displayArrows = True)
#afftool.visualiseAffordances('Support', v, v.color.lightBrown) #afftool.visualiseAffordances('Support', v, v.color.lightBrown)
......
...@@ -54,7 +54,7 @@ vf = ViewerFactory (ps) ...@@ -54,7 +54,7 @@ vf = ViewerFactory (ps)
from hpp.corbaserver.affordance.affordance import AffordanceTool from hpp.corbaserver.affordance.affordance import AffordanceTool
afftool = AffordanceTool () afftool = AffordanceTool ()
afftool.setAffordanceConfig('Support', [0.5, 0.03, 0.00005]) afftool.setAffordanceConfig('Support', [0.5, 0.03, 0.00005])
afftool.loadObstacleModel ("hpp-rbprm-corba", "floor_bauzil", "planning", vf) afftool.loadObstacleModel ("hpp_environments", "multicontact/floor_bauzil", "planning", vf)
v = vf.createViewer(displayArrows = True) v = vf.createViewer(displayArrows = True)
#afftool.visualiseAffordances('Support', v, v.color.lightBrown) #afftool.visualiseAffordances('Support', v, v.color.lightBrown)
v.addLandmark(v.sceneName,1) v.addLandmark(v.sceneName,1)
......
...@@ -54,7 +54,7 @@ vf = ViewerFactory (ps) ...@@ -54,7 +54,7 @@ vf = ViewerFactory (ps)
from hpp.corbaserver.affordance.affordance import AffordanceTool from hpp.corbaserver.affordance.affordance import AffordanceTool
afftool = AffordanceTool () afftool = AffordanceTool ()
afftool.setAffordanceConfig('Support', [0.5, 0.03, 0.00005]) afftool.setAffordanceConfig('Support', [0.5, 0.03, 0.00005])
afftool.loadObstacleModel ("hpp-rbprm-corba", "floor_bauzil", "planning", vf) afftool.loadObstacleModel ("hpp_environments", "multicontact/floor_bauzil", "planning", vf)
v = vf.createViewer(displayArrows = True) v = vf.createViewer(displayArrows = True)
#afftool.visualiseAffordances('Support', v, v.color.lightBrown) #afftool.visualiseAffordances('Support', v, v.color.lightBrown)
v.addLandmark(v.sceneName,1) v.addLandmark(v.sceneName,1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment