summaryrefslogtreecommitdiff
path: root/digital/ai/tools
diff options
context:
space:
mode:
authorNicolas Schodet2012-04-30 15:14:15 +0200
committerNicolas Schodet2012-04-30 16:01:03 +0200
commitcd5c148bc03f83aa3ec0f9678b210ca6cdb8e144 (patch)
treeae6e873614be4d32335bbfab2da89c17c1c5e38f /digital/ai/tools
parentcf6d484cc87e9f26b7257e89a8433daf52b64955 (diff)
{digital/io-hub/src,host/simu/robots}/guybrush: invert lower clamp open/close
Diffstat (limited to 'digital/ai/tools')
-rw-r--r--digital/ai/tools/test_simu_control_guybrush.py8
1 files changed, 4 insertions, 4 deletions
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)