From 0a3d4dfead4ed4d2eaf02d40a61e335127b60a0d Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 13 May 2012 20:57:32 +0200 Subject: host/simu/robots/guybrush: change lower clamp sensors to match real robot --- host/simu/robots/guybrush/model/bag.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/simu/robots/guybrush/model/bag.py') 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, -- cgit v1.2.3