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/model/table_eurobot2012.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/simu/model') diff --git a/host/simu/model/table_eurobot2012.py b/host/simu/model/table_eurobot2012.py index 38960513..36dbf12f 100644 --- a/host/simu/model/table_eurobot2012.py +++ b/host/simu/model/table_eurobot2012.py @@ -90,4 +90,9 @@ class Table (simu.model.table.Table): # Add everything to obstacles. self.obstacles += self.coins self.obstacles += self.gold_bars + # Add totem as obstacles. + for i in (-1, 1): + o = RectangularObstacle ((250, 250), 3) + o.pos = (1500 + i * 400, 1000) + self.obstacles.append (o) -- cgit v1.2.3