From d87520adf03d05204719ae14b4bc4efa5686dddb Mon Sep 17 00:00:00 2001
From: Florent Lamiraux <florent@laas.fr>
Date: Mon, 14 Feb 2011 14:25:22 +0100
Subject: [PATCH] Reintroduce RobotSimu.

---
 src/dynamic_graph/sot/dynamics/humanoid_robot.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/dynamic_graph/sot/dynamics/humanoid_robot.py b/src/dynamic_graph/sot/dynamics/humanoid_robot.py
index f3d62d5..88bec8a 100755
--- a/src/dynamic_graph/sot/dynamics/humanoid_robot.py
+++ b/src/dynamic_graph/sot/dynamics/humanoid_robot.py
@@ -16,7 +16,7 @@
 
 from dynamic_graph.sot import SE3, R3, SO3
 from dynamic_graph.sot.core.feature_position import FeaturePosition
-from dynamic_graph.sot.core import Device, FeaturePoint6dRelative, \
+from dynamic_graph.sot.core import RobotSimu, FeaturePoint6dRelative, \
     FeatureGeneric, FeatureJointLimits, Task, Constraint, GainAdaptive, SOT
 
 from dynamic_graph.sot.dynamics.parser import Parser
@@ -158,7 +158,7 @@ class AbstractHumanoidRobot (object):
             raise RunTimeError("robots models have to be initialized first")
 
         if not self.device:
-            self.device = Device(self.name + '.device')
+            self.device = RobotSimu(self.name + '.device')
 
         # Freeflyer reference frame should be the same as global
         # frame so that operational point positions correspond to
-- 
GitLab