summaryrefslogtreecommitdiff
path: root/host/simu
diff options
context:
space:
mode:
authorNicolas Schodet2010-05-04 02:25:23 +0200
committerNicolas Schodet2010-05-04 02:25:23 +0200
commitfd1c46e3bbb4a98b7a263c051bd8bda9797c508f (patch)
tree0efa1ca0fabe59df53902fb0a8522cda9873c548 /host/simu
parent4b909c356b7110d1ad9bb36e6bd33d5bb8a836eb (diff)
host/simu/robots/marcel: nicer values for clamp size
Diffstat (limited to 'host/simu')
-rw-r--r--host/simu/robots/marcel/model/loader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/simu/robots/marcel/model/loader.py b/host/simu/robots/marcel/model/loader.py
index ec987816..f80da1ba 100644
--- a/host/simu/robots/marcel/model/loader.py
+++ b/host/simu/robots/marcel/model/loader.py
@@ -36,7 +36,7 @@ class Loader (Observable):
ELEVATOR_LINEAR_STROKE = 32
ELEVATOR_ROTATING_STROKE = 200 - 32
- FRONT_ZONE_X_MIN = 120 + 15
+ FRONT_ZONE_X_MIN = 120 - 15
FRONT_ZONE_X_MAX = 120 + CLAMP_LENGTH - 15
def __init__ (self, table, robot_position, left_clamp_link, right_clamp_link,
@@ -155,8 +155,8 @@ class Loader (Observable):
# pushed:
#ymin = -self.CLAMP_WIDTH / 2 + self.clamp_pos[1]
#ymax = self.CLAMP_WIDTH / 2 - self.clamp_pos[0]
- ymin = -self.CLAMP_WIDTH + 40
- ymax = self.CLAMP_WIDTH - 40
+ ymin = -self.CLAMP_WIDTH + 20
+ ymax = self.CLAMP_WIDTH - 20
for o in self.table.obstacles:
if o.level == 1 and o.pos is not None:
pos = m.apply (o.pos)