From 155e962088c0e321ae9e7aa8d8904166b3b701f8 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 3 May 2012 00:24:08 +0200 Subject: host/simu, digital/io-hub/src/guybrush: handle new US sensors positions --- host/simu/robots/guybrush/model/clamps.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/simu/robots/guybrush/model/clamps.py') diff --git a/host/simu/robots/guybrush/model/clamps.py b/host/simu/robots/guybrush/model/clamps.py index 5d75ecb4..664f0bdd 100644 --- a/host/simu/robots/guybrush/model/clamps.py +++ b/host/simu/robots/guybrush/model/clamps.py @@ -155,6 +155,8 @@ class Clamps (Observable): def __add_load (self, elements): """Add element list to load.""" + for e in elements: + e.level = 1 self.load.extend (elements) def __get_floor_elements (self): -- cgit v1.2.3