Commit cb3c4070 authored by Pierre Fernbach's avatar Pierre Fernbach

[Python] update scripts to changes of path of robots classes

parent 49157cbf
......@@ -23,7 +23,7 @@ class AnymalContactGenerator(AbstractContactGenerator):
self.fullbody.setEndState(self.q_goal, self.end_contacts, normals_end)
def load_fullbody(self):
from hpp.corbaserver.rbprm.anymal import Robot
from anymal_rbprm.anymal import Robot
self.fullbody = Robot()
self.q_ref = self.fullbody.referenceConfig[::] + [0] * self.path_planner.extra_dof
self.weight_postural = self.fullbody.postureWeights[::] + [0] * self.path_planner.extra_dof
......
......@@ -19,7 +19,7 @@ class AnymalPathPlanner(AbstractPathPlanner):
self.robot_node_name = "anymal_trunk"
def load_rbprm(self):
from hpp.corbaserver.rbprm.anymal_abstract import Robot
from anymal_rbprm.anymal_abstract import Robot
self.rbprmBuilder = Robot(client=self.hpp_client, clientRbprm=self.rbprm_client)
def set_joints_bounds(self):
......
......@@ -9,7 +9,7 @@ class HRP2ContactGenerator(AbstractContactGenerator):
self.robot_node_name = "hrp2_14"
def load_fullbody(self):
from hpp.corbaserver.rbprm.hrp2 import Robot
from hrp2_rbprm.hrp2 import Robot
self.fullbody = Robot()
self.q_ref = self.fullbody.referenceConfig[::] + [0] * self.path_planner.extra_dof
self.weight_postural = self.fullbody.postureWeights[::] + [0] * self.path_planner.extra_dof
......
......@@ -19,5 +19,5 @@ class HRP2PathPlanner(AbstractPathPlanner):
self.robot_node_name = "hrp2_trunk_flexible"
def load_rbprm(self):
from hpp.corbaserver.rbprm.hrp2_abstract import Robot
from hrp2_rbprm.hrp2_abstract import Robot
self.rbprmBuilder = Robot(client=self.hpp_client, clientRbprm=self.rbprm_client)
......@@ -23,7 +23,7 @@ class HyqContactGenerator(AbstractContactGenerator):
self.fullbody.setEndState(self.q_goal, self.end_contacts, normals_end)
def load_fullbody(self):
from hpp.corbaserver.rbprm.hyq import Robot
from hyq_rbprm.hyq import Robot
self.fullbody = Robot()
self.q_ref = self.fullbody.referenceConfig[::] + [0] * self.path_planner.extra_dof
self.weight_postural = self.fullbody.postureWeights[::] + [0] * self.path_planner.extra_dof
......
......@@ -19,7 +19,7 @@ class HyqPathPlanner(AbstractPathPlanner):
self.robot_node_name = "hyq_trunk_large"
def load_rbprm(self):
from hpp.corbaserver.rbprm.hyq_abstract import Robot
from hyq_rbprm.hyq_abstract import Robot
self.rbprmBuilder = Robot(client=self.hpp_client, clientRbprm=self.rbprm_client)
def set_joints_bounds(self):
......
......@@ -2,7 +2,7 @@
# Authors: Pierre Fernbach <pfernbac@laas.fr>
import unittest
from hpp.corbaserver.rbprm.hyq import Robot
from hyq_rbprm.hyq import Robot
from hpp.corbaserver.rbprm.rbprmstate import State, StateHelper
from hpp.corbaserver.rbprm.utils import ServerManager
......
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