From 447138614e45686cff0bf55a351610c1c108168a Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 22 May 2011 18:42:06 +0200 Subject: digital/io-hub: update clamp positions and pwm values --- host/simu/robots/robospierre/model/bag.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host') diff --git a/host/simu/robots/robospierre/model/bag.py b/host/simu/robots/robospierre/model/bag.py index 5a6fa023..b1c49d35 100644 --- a/host/simu/robots/robospierre/model/bag.py +++ b/host/simu/robots/robospierre/model/bag.py @@ -38,9 +38,9 @@ class Bag: for contact in link_bag.io_hub.contact[2:] ] self.position = Position (link_bag.asserv.position) self.clamping_motor = MotorBasic (link_bag.io_hub.pwm[2], scheduler, - 2 * pi, 0, pi) + 8 * pi, 0, pi) self.door_motors = [ MotorBasic (link_bag.io_hub.pwm[i], scheduler, - 2 * pi, 0, 0.5 * pi) for i in (0, 1, 3, 4) ] + 8 * pi, 0, 0.5 * pi) for i in (0, 1, 3, 4) ] self.clamp = Clamp (table, self.position, link_bag.mimot.aux[0], link_bag.mimot.aux[1], self.clamping_motor, self.door_motors, self.contact[0:7]) -- cgit v1.2.3