Commit 64c1c481 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[Scripts] in sandbox/ revert changes in relative import

parent ceb6fe2a
......@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import *
import time
print("Plan guide trajectory ...")
from . import anymal_flatGround_path as tp
import anymal_flatGround_path as tp
print("Done.")
import time
......
......@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import *
import time
print("Plan guide trajectory ...")
from . import anymal_plinth_path as tp
import anymal_plinth_path as tp
print("Done.")
import time
......
......@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from tools.display_tools import *
import time
print("Plan guide trajectory ...")
from . import anymal_slalom1_path as tp
import anymal_slalom1_path as tp
print("Done.")
import time
......
......@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from tools.display_tools import *
import time
print("Plan guide trajectory ...")
from . import anymal_slalom2_path as tp
import anymal_slalom2_path as tp
print("Done.")
import time
......
......@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import *
import time
print("Plan guide trajectory ...")
from . import anymal_slalom_debris_path as tp
import anymal_slalom_debris_path as tp
print("Done.")
import time
......
......@@ -53,7 +53,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_environments", "multicontact/slalom_debris", "planning", vf,reduceSizes=[0.1,0,0])
afftool.loadObstacleModel ("hpp_environments", "multicontact/slalom_debris", "planning", vf)
v = vf.createViewer(displayArrows = True)
#afftool.visualiseAffordances('Support', v, v.color.lightBrown)
#v.addLandmark(v.sceneName,1)
......
......@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import *
import time
print("Plan guide trajectory ...")
from . import darpa_path as tp
import darpa_path as tp
print("Done.")
import time
......
......@@ -2,7 +2,7 @@ from hpp.corbaserver.rbprm.rbprmbuilder import Builder
from hpp.corbaserver.rbprm.rbprmfullbody import FullBody
from hpp.gepetto import Viewer
from tools import *
from . import bauzilStairs_hrp2_pathKino as tp
import bauzilStairs_hrp2_pathKino as tp
import time
import omniORB.any
......@@ -126,7 +126,7 @@ fullBody.setStaticStability(True) # only set it after the init/goal configuratio
from hpp.gepetto import PathPlayer
pp = PathPlayer (fullBody.client.basic, r)
from . import fullBodyPlayerHrp2
import fullBodyPlayerHrp2
tStart = time.time()
configs = fullBody.interpolate(0.01,pathId=pId,robustnessTreshold = robTreshold, filterStates = True)
......
......@@ -2,7 +2,7 @@ from hpp.corbaserver.rbprm.rbprmbuilder import Builder
from hpp.corbaserver.rbprm.rbprmfullbody import FullBody
from hpp.gepetto import Viewer
from tools import *
from . import darpa_hrp2_path as tp
import darpa_hrp2_path as tp
import time
import omniORB.any
......@@ -128,7 +128,7 @@ fullBody.setStaticStability(True) # only set it after the init/goal configuratio
from hpp.gepetto import PathPlayer
pp = PathPlayer (fullBody.client.basic, r)
from . import fullBodyPlayerHrp2
import fullBodyPlayerHrp2
tStart = time.time()
configs = fullBody.interpolate(0.01,pathId=pId,robustnessTreshold = robTreshold, filterStates = True)
......
......@@ -2,7 +2,7 @@ from hpp.corbaserver.rbprm.rbprmbuilder import Builder
from hpp.corbaserver.rbprm.rbprmfullbody import FullBody
from hpp.gepetto import Viewer
from tools import *
from . import darpa_hrp2_path as tp
import darpa_hrp2_path as tp
import time
import omniORB.any
import numpy as np
......@@ -130,7 +130,7 @@ fullBody.setStaticStability(True) # only set it after the init/goal configuratio
from hpp.gepetto import PathPlayer
pp = PathPlayer (fullBody.client.basic, r)
from . import fullBodyPlayerHrp2
import fullBodyPlayerHrp2
tStart = time.time()
configs = fullBody.interpolate(0.01,pathId=pId,robustnessTreshold = robTreshold, filterStates = True, testReachability=True, quasiStatic=True)
......
......@@ -2,7 +2,7 @@ from hpp.corbaserver.rbprm.rbprmbuilder import Builder
from hpp.corbaserver.rbprm.rbprmfullbody import FullBody
from hpp.gepetto import Viewer
from tools import *
from . import darpa_hrp2_path as tp
import darpa_hrp2_path as tp
import time
import omniORB.any
......@@ -128,7 +128,7 @@ fullBody.setStaticStability(True) # only set it after the init/goal configuratio
from hpp.gepetto import PathPlayer
pp = PathPlayer (fullBody.client.basic, r)
from . import fullBodyPlayerHrp2
import fullBodyPlayerHrp2
tStart = time.time()
configs = fullBody.interpolate(0.01,pathId=pId,robustnessTreshold = robTreshold, filterStates = True)
......
......@@ -5,7 +5,7 @@ from hpp.corbaserver.rbprm.problem_solver import ProblemSolver
from hpp.gepetto import Viewer
#calling script darpa_hyq_path to compute root path
from . import darpa_hyq_pathKino as tp
import darpa_hyq_pathKino as tp
from os import environ
ins_dir = environ['DEVEL_DIR']
......
......@@ -2,7 +2,7 @@ from hpp.corbaserver.rbprm.rbprmbuilder import Builder
from hpp.corbaserver.rbprm.rbprmfullbody import FullBody
from hpp.gepetto import Viewer
from tools import *
from . import darpa_line_hrp2_path as tp
import darpa_line_hrp2_path as tp
import time
import omniORB.any
......@@ -144,7 +144,7 @@ fullBody.setStaticStability(True) # only set it after the init/goal configuratio
from hpp.gepetto import PathPlayer
pp = PathPlayer (fullBody.client.basic, r)
from . import fullBodyPlayerHrp2
import fullBodyPlayerHrp2
tStart = time.time()
configs = fullBody.interpolate(0.01,pathId=pId,robustnessTreshold = robTreshold, filterStates = True,testReachability=False,quasiStatic=False)
......
......@@ -2,7 +2,7 @@ from hpp.corbaserver.rbprm.rbprmbuilder import Builder
from hpp.corbaserver.rbprm.rbprmfullbody import FullBody
from hpp.gepetto import Viewer
from . import downSlope_easy_hrp2_pathKino as tp
import downSlope_easy_hrp2_pathKino as tp
import time
......
......@@ -2,7 +2,7 @@ from hpp.corbaserver.rbprm.rbprmbuilder import Builder
from hpp.corbaserver.rbprm.rbprmfullbody import FullBody
from hpp.gepetto import Viewer
import omniORB.any
from . import downSlope_hrp2_waypoint as tp
import downSlope_hrp2_waypoint as tp
import time
......@@ -106,7 +106,7 @@ fullBody.runLimbSampleAnalysis(lLegId, "jointLimitsDistance", True)
from hpp.gepetto import PathPlayer
pp = PathPlayer (fullBody.client.basic, r)
from . import fullBodyPlayerHrp2
import fullBodyPlayerHrp2
configs = fullBody.interpolate(0.05,pathId=pId,robustnessTreshold = 1, filterStates = True)
print("number of configs :", len(configs))
......
......@@ -2,7 +2,7 @@ from hpp.corbaserver.rbprm.rbprmbuilder import Builder
from hpp.corbaserver.rbprm.rbprmfullbody import FullBody
from hpp.gepetto import Viewer
from . import downSlope_hrp2_pathKino2 as tp
import downSlope_hrp2_pathKino2 as tp
import time
......
......@@ -120,7 +120,7 @@ pp.displayVelocityPath(0)
r.client.gui.setVisibility("path_0_root","ALWAYS_ON_TOP")
from . import parse_bench
import parse_bench
parse_bench.parseBenchmark(t)
print("path lenght = ",str(ps.client.problem.pathLength(ps.numberPaths()-1)))
......
......@@ -120,7 +120,7 @@ pp.displayVelocityPath(0)
r.client.gui.setVisibility("path_0_root","ALWAYS_ON_TOP")
from . import parse_bench
import parse_bench
parse_bench.parseBenchmark(t)
print("path lenght = ",str(ps.client.problem.pathLength(ps.numberPaths()-1)))
......
......@@ -5,7 +5,7 @@ from hpp.corbaserver.rbprm.problem_solver import ProblemSolver
from hpp.gepetto import Viewer
#calling script darpa_hyq_path to compute root path
from . import downSlope_hyq_pathKino as tp
import downSlope_hyq_pathKino as tp
from os import environ
ins_dir = environ['DEVEL_DIR']
......
......@@ -5,7 +5,7 @@ from hpp.corbaserver.rbprm.problem_solver import ProblemSolver
from hpp.gepetto import Viewer
#calling script darpa_hyq_path to compute root path
from . import downSlope_hyq_pathKino2 as tp
import downSlope_hyq_pathKino2 as tp
from os import environ
ins_dir = environ['DEVEL_DIR']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment