summaryrefslogtreecommitdiffhomepage
path: root/host/simu/robots/marcel/model/bag.py
diff options
context:
space:
mode:
authorNicolas Schodet2010-05-04 02:25:20 +0200
committerNicolas Schodet2010-05-04 02:25:20 +0200
commit4b909c356b7110d1ad9bb36e6bd33d5bb8a836eb (patch)
tree3d27af206144c3a6349eafc15493f239a86b7809 /host/simu/robots/marcel/model/bag.py
parent7c593a7f73a4d56a7eb1e6727a2f5b2007133a27 (diff)
host/simu/robots/marcel: add element contacts model
Diffstat (limited to 'host/simu/robots/marcel/model/bag.py')
-rw-r--r--host/simu/robots/marcel/model/bag.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/simu/robots/marcel/model/bag.py b/host/simu/robots/marcel/model/bag.py
index ce8eaab4..04edd12d 100644
--- a/host/simu/robots/marcel/model/bag.py
+++ b/host/simu/robots/marcel/model/bag.py
@@ -36,7 +36,8 @@ class Bag:
self.contact = [ Switch (contact) for contact in link_bag.io.contact ]
self.position = Position (link_bag.asserv.position)
self.loader = Loader (table, self.position, link_bag.mimot.aux[0],
- link_bag.mimot.aux[1], link_bag.asserv.aux[0])
+ link_bag.mimot.aux[1], link_bag.asserv.aux[0],
+ link_bag.io.contact[0:2])
self.distance_sensor = [
DistanceSensorSensopart (link_bag.io.adc[0], scheduler, table,
(30 - 20, 0), 0, (self.position, ), 2),