summaryrefslogtreecommitdiffhomepage
path: root/host/simu/robots/guybrush/model/bag.py
diff options
context:
space:
mode:
authorNicolas Schodet2012-05-13 20:57:32 +0200
committerNicolas Schodet2012-05-13 20:57:32 +0200
commit0a3d4dfead4ed4d2eaf02d40a61e335127b60a0d (patch)
treebf23549fbe74f976b7670b22d2886cd3075ac856 /host/simu/robots/guybrush/model/bag.py
parentcbd7e8f608d74171438dba8271613117b96bd11c (diff)
host/simu/robots/guybrush: change lower clamp sensors to match real robot
Diffstat (limited to 'host/simu/robots/guybrush/model/bag.py')
-rw-r--r--host/simu/robots/guybrush/model/bag.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/simu/robots/guybrush/model/bag.py b/host/simu/robots/guybrush/model/bag.py
index caeba351..c1e66290 100644
--- a/host/simu/robots/guybrush/model/bag.py
+++ b/host/simu/robots/guybrush/model/bag.py
@@ -59,10 +59,10 @@ class Bag:
None, scheduler, 0., 30., 150., 75., 30.),
PneumaticCylinder (output[self.OUTPUT_LOWER_CLAMP_2_CLOSE],
None, scheduler, 0., 30., 150., 75., 30.)),
- contact[0:4], contact[10],
+ contact[0:2], contact[8],
PneumaticCylinder (output[self.OUTPUT_UPPER_CLAMP_DOWN],
output[self.OUTPUT_UPPER_CLAMP_UP], scheduler,
- 0., 1., 1., 1., 1., contact[4], contact[5]),
+ 0., 1., 1., 1., 1., contact[2], contact[3]),
PneumaticCylinder (output[self.OUTPUT_UPPER_CLAMP_IN],
output[self.OUTPUT_UPPER_CLAMP_OUT], scheduler,
0., 1., 1., 1., 0.),
@@ -70,7 +70,7 @@ class Bag:
scheduler, 0., 30., 150., 75., 30.),
PneumaticCylinder (output[self.OUTPUT_DOOR_CLOSE],
output[self.OUTPUT_DOOR_OPEN], scheduler,
- 0., 1., 1., 1., 1., contact[7], contact[6])
+ 0., 1., 1., 1., 1., contact[5], contact[4])
)
self.distance_sensor = [
DistanceSensorSensopart (link_bag.io_hub.adc[0], scheduler, table,