From cd5c148bc03f83aa3ec0f9678b210ca6cdb8e144 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 30 Apr 2012 15:14:15 +0200 Subject: {digital/io-hub/src,host/simu/robots}/guybrush: invert lower clamp open/close --- digital/ai/tools/test_simu_control_guybrush.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'digital/ai/tools') diff --git a/digital/ai/tools/test_simu_control_guybrush.py b/digital/ai/tools/test_simu_control_guybrush.py index 9be6a7b0..a4ebf3a6 100644 --- a/digital/ai/tools/test_simu_control_guybrush.py +++ b/digital/ai/tools/test_simu_control_guybrush.py @@ -35,8 +35,8 @@ class TestSimuControl (TestSimu): UPPER_CLAMP_UP = 1 << 5 DOOR_OPEN = 1 << 6 DOOR_CLOSE = 1 << 7 - LOWER_CLAMP_1_OPEN = 1 << 8 - LOWER_CLAMP_2_OPEN = 1 << 9 + LOWER_CLAMP_1_CLOSE = 1 << 8 + LOWER_CLAMP_2_CLOSE = 1 << 9 LOWER_CLAMP_ROTATION_STROKE = int (16 * 250) def __init__ (self, robot_class, *args): @@ -61,8 +61,8 @@ class TestSimuControl (TestSimu): button = Button (self.control_frame, text = name, padx = 0, pady = 0, command = command) button.pack () - out_button ('LClamp 1 open', self.LOWER_CLAMP_1_OPEN) - out_button ('LClamp 2 open', self.LOWER_CLAMP_2_OPEN) + out_button ('LClamp 1 open', self.LOWER_CLAMP_1_CLOSE) + out_button ('LClamp 2 open', self.LOWER_CLAMP_2_CLOSE) self.lower_clamp_rotate_button = Button (self.control_frame, text = 'LClamp rotate', padx = 0, pady = 0, command = self.lower_clamp_rotate_command) -- cgit v1.2.3