From ef89cab1d1abebf1113c05b851e36c0ac20bb9fd Mon Sep 17 00:00:00 2001
From: pFernbach <pierre.fernbach@gmail.com>
Date: Tue, 5 Feb 2019 18:23:14 +0100
Subject: [PATCH] [scripts] change packages of environment in scripts

---
 script/scenarios/demos/darpa_hyq_path.py            | 2 +-
 script/scenarios/demos/hyq_slalom_debris_path.py    | 2 +-
 script/scenarios/demos/talos_flatGround_path.py     | 2 +-
 script/scenarios/demos/talos_navBauzil_hard_path.py | 2 +-
 script/scenarios/demos/talos_navBauzil_path.py      | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/script/scenarios/demos/darpa_hyq_path.py b/script/scenarios/demos/darpa_hyq_path.py
index 299dc36c..60f30022 100644
--- a/script/scenarios/demos/darpa_hyq_path.py
+++ b/script/scenarios/demos/darpa_hyq_path.py
@@ -28,7 +28,7 @@ vf = ViewerFactory (ps)
 from hpp.corbaserver.affordance.affordance import AffordanceTool
 afftool = AffordanceTool ()
 #~ 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()
 #afftool.visualiseAffordances('Support', v, [0.25, 0.5, 0.5])
 
diff --git a/script/scenarios/demos/hyq_slalom_debris_path.py b/script/scenarios/demos/hyq_slalom_debris_path.py
index 0cba47cb..07e8ba7a 100644
--- a/script/scenarios/demos/hyq_slalom_debris_path.py
+++ b/script/scenarios/demos/hyq_slalom_debris_path.py
@@ -52,7 +52,7 @@ vf = ViewerFactory (ps)
 from hpp.corbaserver.affordance.affordance import AffordanceTool
 afftool = AffordanceTool ()
 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)
 #afftool.visualiseAffordances('Support', v, v.color.lightBrown)
 
diff --git a/script/scenarios/demos/talos_flatGround_path.py b/script/scenarios/demos/talos_flatGround_path.py
index 0929fc30..c82ed471 100644
--- a/script/scenarios/demos/talos_flatGround_path.py
+++ b/script/scenarios/demos/talos_flatGround_path.py
@@ -47,7 +47,7 @@ vf = ViewerFactory (ps)
 from hpp.corbaserver.affordance.affordance import AffordanceTool
 afftool = AffordanceTool ()
 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)
 #afftool.visualiseAffordances('Support', v, v.color.lightBrown)
 
diff --git a/script/scenarios/demos/talos_navBauzil_hard_path.py b/script/scenarios/demos/talos_navBauzil_hard_path.py
index 1976e889..c0a95fa3 100644
--- a/script/scenarios/demos/talos_navBauzil_hard_path.py
+++ b/script/scenarios/demos/talos_navBauzil_hard_path.py
@@ -54,7 +54,7 @@ vf = ViewerFactory (ps)
 from hpp.corbaserver.affordance.affordance import AffordanceTool
 afftool = AffordanceTool ()
 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)
 #afftool.visualiseAffordances('Support', v, v.color.lightBrown)
 v.addLandmark(v.sceneName,1)
diff --git a/script/scenarios/demos/talos_navBauzil_path.py b/script/scenarios/demos/talos_navBauzil_path.py
index 640938c9..80a19f99 100644
--- a/script/scenarios/demos/talos_navBauzil_path.py
+++ b/script/scenarios/demos/talos_navBauzil_path.py
@@ -54,7 +54,7 @@ vf = ViewerFactory (ps)
 from hpp.corbaserver.affordance.affordance import AffordanceTool
 afftool = AffordanceTool ()
 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)
 #afftool.visualiseAffordances('Support', v, v.color.lightBrown)
 v.addLandmark(v.sceneName,1)
-- 
GitLab