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/clamps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/simu/robots/guybrush/model/clamps.py') diff --git a/host/simu/robots/guybrush/model/clamps.py b/host/simu/robots/guybrush/model/clamps.py index 22444f30..40ec41a7 100644 --- a/host/simu/robots/guybrush/model/clamps.py +++ b/host/simu/robots/guybrush/model/clamps.py @@ -128,7 +128,7 @@ class Clamps (Observable): if floor_clamp is None: new_state = True else: - new_state = not self.lower_clamp_content[floor_clamp] + new_state = bool (self.lower_clamp_content[floor_clamp]) if new_state != old_state: for s in self.lower_clamp_sensors: s.state = new_state -- cgit v1.2.3