Commit 25b106f3 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[Scripts] updates installed scripts to change of path

parent 79157867
from scenarios.anymal_path_planner import AnymalPathPlanner
from hpp.corbaserver.rbprm.scenarios.anymal_path_planner import AnymalPathPlanner
from pinocchio import Quaternion
import numpy as np
......
from scenarios.anymal_path_planner import AnymalPathPlanner
from hpp.corbaserver.rbprm.scenarios.anymal_path_planner import AnymalPathPlanner
from pinocchio import Quaternion
import numpy as np
......
from scenarios.anymal_contact_generator import AnymalContactGenerator as Parent
from hpp.corbaserver.rbprm.scenarios.anymal_contact_generator import AnymalContactGenerator as Parent
class AnymalContactGenerator(Parent):
......
from scenarios.memmo.anymal_platform_random_path import PathPlanner
from scenarios.memmo.anymal_contact_generator import AnymalContactGenerator
from hpp.corbaserver.rbprm.scenarios.memmo.anymal_platform_random_path import PathPlanner
from hpp.corbaserver.rbprm.scenarios.memmo.anymal_contact_generator import AnymalContactGenerator
import time
class ContactGenerator(AnymalContactGenerator):
......
from scenarios.anymal_path_planner import AnymalPathPlanner
from hpp.corbaserver.rbprm.scenarios.anymal_path_planner import AnymalPathPlanner
from pinocchio import Quaternion
import numpy as np
......
from tools.sample_root_config import generate_random_conf_without_orientation
from scenarios.talos_path_planner import TalosPathPlanner
from hpp.corbaserver.rbprm.tools.sample_root_config import generate_random_conf_without_orientation
from hpp.corbaserver.rbprm.scenarios.talos_path_planner import TalosPathPlanner
from talos_rbprm.talos_abstract import Robot
......
from scenarios.memmo.talos_circle_path import PathPlanner
from scenarios.memmo.talos_contact_generator import TalosContactGenerator
from hpp.corbaserver.rbprm.scenarios.memmo.talos_circle_path import PathPlanner
from hpp.corbaserver.rbprm.scenarios.memmo.talos_contact_generator import TalosContactGenerator
import time
class ContactGenerator(TalosContactGenerator):
......
from scenarios.memmo.talos_circle_oriented_path import PathPlanner
from scenarios.memmo.talos_contact_generator import TalosContactGenerator
from hpp.corbaserver.rbprm.scenarios.memmo.talos_circle_oriented_path import PathPlanner
from hpp.corbaserver.rbprm.scenarios.memmo.talos_contact_generator import TalosContactGenerator
import time
import numpy as np
......
from scenarios.talos_path_planner import TalosPathPlanner
from hpp.corbaserver.rbprm.scenarios.talos_path_planner import TalosPathPlanner
from pinocchio import Quaternion
import numpy as np
......
from scenarios.talos_path_planner import TalosPathPlanner
from hpp.corbaserver.rbprm.scenarios.talos_path_planner import TalosPathPlanner
import numpy as np
class PathPlanner(TalosPathPlanner):
......
from scenarios.talos_contact_generator import TalosContactGenerator as Parent
from hpp.corbaserver.rbprm.scenarios.talos_contact_generator import TalosContactGenerator as Parent
class TalosContactGenerator(Parent):
......
from scenarios.memmo.talos_mazeEas_path import PathPlanner as Parent
from hpp.corbaserver.rbprm.scenarios.memmo.talos_mazeEas_path import PathPlanner as Parent
import numpy as np
class PathPlanner(Parent):
......@@ -7,7 +7,7 @@ class PathPlanner(Parent):
"""
randomly sample initial and goal configuration :
"""
from tools.sample_root_config import generate_random_conf_with_orientation
from hpp.corbaserver.rbprm.tools.sample_root_config import generate_random_conf_with_orientation
self.q_init = generate_random_conf_with_orientation(self.rbprmBuilder, self.root_translation_bounds)
self.q_goal = generate_random_conf_with_orientation(self.rbprmBuilder, self.root_translation_bounds)
print("q_init= " + str(self.q_init))
......
from scenarios.talos_path_planner import TalosPathPlanner
from hpp.corbaserver.rbprm.scenarios.talos_path_planner import TalosPathPlanner
import numpy as np
class PathPlanner(TalosPathPlanner):
......@@ -26,7 +26,7 @@ class PathPlanner(TalosPathPlanner):
"""
randomly sample initial and goal configuration :
"""
from tools.sample_root_config import generate_random_conf_without_orientation
from hpp.corbaserver.rbprm.tools.sample_root_config import generate_random_conf_without_orientation
self.q_init = generate_random_conf_without_orientation(self.rbprmBuilder, self.root_translation_bounds)
self.q_goal = generate_random_conf_without_orientation(self.rbprmBuilder, self.root_translation_bounds)
print("q_init= " + str(self.q_init))
......
......@@ -81,7 +81,7 @@ tGenerate = time.time() - tStart
print("Done.")
print("Databases generated in : "+str(tGenerate)+" s")
from tools.sample_random_transition import sampleRandomTransitionFlatFloor
from hpp.corbaserver.rbprm.tools.sample_random_transition import sampleRandomTransitionFlatFloor
limbsInContact = [fullBody.rLegId,fullBody.lLegId]
random.seed()
movingId = random.randint(0,1)
......
......@@ -83,7 +83,7 @@ tGenerate = time.time() - tStart
print("Done.")
print("Databases generated in : "+str(tGenerate)+" s")
from tools.sample_random_transition import sampleRandomTransitionStairs
from hpp.corbaserver.rbprm.tools.sample_random_transition import sampleRandomTransitionStairs
limbsInContact = [fullBody.rLegId,fullBody.lLegId]
random.seed()
movingId = random.randint(0,1)
......
......@@ -83,7 +83,7 @@ tGenerate = time.time() - tStart
print("Done.")
print("Databases generated in : "+str(tGenerate)+" s")
from tools.sample_random_transition import sampleRandomTransitionStairs
from hpp.corbaserver.rbprm.tools.sample_random_transition import sampleRandomTransitionStairs
limbsInContact = [fullBody.rLegId,fullBody.lLegId]
random.seed()
movingId = random.randint(0,1)
......
......@@ -83,7 +83,7 @@ tGenerate = time.time() - tStart
print("Done.")
print("Databases generated in : "+str(tGenerate)+" s")
from tools.sample_random_transition import sampleRandomTransitionStairs
from hpp.corbaserver.rbprm.tools.sample_random_transition import sampleRandomTransitionStairs
limbsInContact = [fullBody.rLegId,fullBody.lLegId]
random.seed()
movingId = random.randint(0,1)
......
......@@ -83,7 +83,7 @@ tGenerate = time.time() - tStart
print("Done.")
print("Databases generated in : "+str(tGenerate)+" s")
from tools.sample_random_transition import sampleRandomTransitionStairs
from hpp.corbaserver.rbprm.tools.sample_random_transition import sampleRandomTransitionStairs
limbsInContact = [fullBody.rLegId,fullBody.lLegId]
random.seed()
movingId = random.randint(0,1)
......
from scenarios.memmo.talos_navBauzil_oriented_path import PathPlanner
from scenarios.memmo.talos_contact_generator import TalosContactGenerator
from hpp.corbaserver.rbprm.scenarios.memmo.talos_navBauzil_oriented_path import PathPlanner
from hpp.corbaserver.rbprm.scenarios.memmo.talos_contact_generator import TalosContactGenerator
import time
class ContactGenerator(TalosContactGenerator):
......
from scenarios.memmo.talos_navBauzil_path import PathPlanner as Parent
from hpp.corbaserver.rbprm.scenarios.memmo.talos_navBauzil_path import PathPlanner as Parent
import numpy as np
class PathPlanner(Parent):
......@@ -7,7 +7,7 @@ class PathPlanner(Parent):
"""
randomly sample initial and goal configuration :
"""
from tools.sample_root_config import generate_random_conf_with_orientation
from hpp.corbaserver.rbprm.tools.sample_root_config import generate_random_conf_with_orientation
self.q_init = generate_random_conf_with_orientation(self.rbprmBuilder, self.root_translation_bounds)
self.q_goal = generate_random_conf_with_orientation(self.rbprmBuilder, self.root_translation_bounds)
print("q_init= " + str(self.q_init))
......
Supports Markdown
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