Commit c8e717ed authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

Refactor python3 : fix relative imports

parent 6b48f744
Subproject commit 2de34adfce816937d2403cb602261ade0c26f0cd Subproject commit 7eca9ee6c9d1c4ee20eb82272e94f9d11642053a
...@@ -4,7 +4,7 @@ from hpp.corbaserver.problem_solver import ProblemSolver ...@@ -4,7 +4,7 @@ from hpp.corbaserver.problem_solver import ProblemSolver
from hpp.gepetto import Viewer from hpp.gepetto import Viewer
#calling script darpa_hyq_path to compute root path #calling script darpa_hyq_path to compute root path
import darpa_hyq_path as tp from . import darpa_hyq_path as tp
from os import environ from os import environ
ins_dir = environ['DEVEL_HPP_DIR'] ins_dir = environ['DEVEL_HPP_DIR']
......
...@@ -4,7 +4,7 @@ from hpp.corbaserver.problem_solver import ProblemSolver ...@@ -4,7 +4,7 @@ from hpp.corbaserver.problem_solver import ProblemSolver
from hpp.gepetto import Viewer from hpp.gepetto import Viewer
#calling script darpa_hyq_path to compute root path #calling script darpa_hyq_path to compute root path
import darpa_hyq_path as tp from . import darpa_hyq_path as tp
from os import environ from os import environ
ins_dir = environ['DEVEL_HPP_DIR'] ins_dir = environ['DEVEL_HPP_DIR']
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import hrp2_flatGround_path as tp from . import hrp2_flatGround_path as tp
print("Done.") print("Done.")
import time import time
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import hrp2_plateformes_path as tp from . import hrp2_plateformes_path as tp
print("Done.") print("Done.")
import time import time
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import hyq_slalom_debris_path as tp from . import hyq_slalom_debris_path as tp
print("Done.") print("Done.")
import time import time
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import talos_flatGround_path as tp from . import talos_flatGround_path as tp
print("Done.") print("Done.")
import time import time
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import talos_navBauzil_path as tp # load the guide planning script from . import talos_navBauzil_path as tp # load the guide planning script
print("Done.") print("Done.")
import time import time
Robot.urdfSuffix += "_safeFeet" Robot.urdfSuffix += "_safeFeet"
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import talos_navBauzil_hard_path as tp from . import talos_navBauzil_hard_path as tp
print("Done.") print("Done.")
import time import time
Robot.urdfSuffix += "_safeFeet" Robot.urdfSuffix += "_safeFeet"
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import talos_plateformes_path as tp from . import talos_plateformes_path as tp
print("Done.") print("Done.")
import time import time
Robot.urdfSuffix+="_safeFeet" Robot.urdfSuffix+="_safeFeet"
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import talos_stairs10_path as tp from . import talos_stairs10_path as tp
print("Done.") print("Done.")
import time import time
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import anymal_circle_path as tp from . import anymal_circle_path as tp
print("Done.") print("Done.")
import time import time
statusFilename = tp.statusFilename statusFilename = tp.statusFilename
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import anymal_circle_oriented_path as tp from . import anymal_circle_oriented_path as tp
print("Done.") print("Done.")
import time import time
statusFilename = tp.statusFilename statusFilename = tp.statusFilename
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import talos_circle_path as tp from . import talos_circle_path as tp
print("Done.") print("Done.")
import time import time
statusFilename = tp.statusFilename statusFilename = tp.statusFilename
......
...@@ -4,7 +4,7 @@ from hpp.corbaserver.rbprm.tools.display_tools import * ...@@ -4,7 +4,7 @@ from hpp.corbaserver.rbprm.tools.display_tools import *
import numpy as np import numpy as np
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import talos_circle_oriented_path as tp from . import talos_circle_oriented_path as tp
print("Done.") print("Done.")
import time import time
statusFilename = tp.statusFilename statusFilename = tp.statusFilename
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from tools.display_tools import * from tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import talos_navBauzil_path as tp from . import talos_navBauzil_path as tp
print("Done.") print("Done.")
import time import time
Robot.urdfSuffix += "_safeFeet" Robot.urdfSuffix += "_safeFeet"
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import talos_platform_path as tp from . import talos_platform_path as tp
pId = 0 pId = 0
""" """
......
...@@ -7,7 +7,7 @@ import os ...@@ -7,7 +7,7 @@ import os
import random import random
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import talos_randomMove_path as tp from . import talos_randomMove_path as tp
print("Done.") print("Done.")
import time import time
statusFilename = tp.statusFilename statusFilename = tp.statusFilename
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import talos_stairs10_random_path as tp from . import talos_stairs10_random_path as tp
print("Done.") print("Done.")
import time import time
statusFilename = tp.statusFilename statusFilename = tp.statusFilename
......
...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer ...@@ -3,7 +3,7 @@ from hpp.gepetto import Viewer
from hpp.corbaserver.rbprm.tools.display_tools import * from hpp.corbaserver.rbprm.tools.display_tools import *
import time import time
print("Plan guide trajectory ...") print("Plan guide trajectory ...")
import anymal_flatGround_path as tp from . import anymal_flatGround_path as tp
print("Done.") print("Done.")
import time import time
......
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