summaryrefslogtreecommitdiff
path: root/digital/ai
diff options
context:
space:
mode:
authorNicolas Schodet2013-04-15 22:24:42 +0200
committerNicolas Schodet2013-04-15 22:25:39 +0200
commita32cf498ca953e0ebc0558958977ecd37fc741a5 (patch)
tree66db0ff683cf19dd375e63b2923c46b995763549 /digital/ai
parent8d625a7761959fc53b6e8d99c8c30c8456211555 (diff)
host/simu, host/simu/robots/apbirthday: add plate loading simulation
Diffstat (limited to 'digital/ai')
-rw-r--r--digital/ai/tools/test_simu_control_apbirthday.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/digital/ai/tools/test_simu_control_apbirthday.py b/digital/ai/tools/test_simu_control_apbirthday.py
index d88d5f7b..6260ffa0 100644
--- a/digital/ai/tools/test_simu_control_apbirthday.py
+++ b/digital/ai/tools/test_simu_control_apbirthday.py
@@ -37,8 +37,8 @@ class TestSimuControl (TestSimu):
self.asserv = self.robots[0].asserv
self.robot_model = self.robots[0].model
self.io.output (io_hub.apbirthday.output_mask (
- 'cake_arm_in', 'cake_push_far_in', 'cake_push_near_in'),
- 'toggle')
+ 'cake_arm_in', 'cake_push_far_in', 'cake_push_near_in',
+ 'cherry_plate_down'), 'toggle')
def create_widgets (self):
TestSimu.create_widgets (self)
@@ -59,6 +59,8 @@ class TestSimuControl (TestSimu):
out_button ('Arm in/out', 'cake_arm_in', 'cake_arm_out')
out_button ('Push far in/out', 'cake_push_far_in', 'cake_push_far_out')
out_button ('Push near in/out', 'cake_push_near_in', 'cake_push_near_out')
+ out_button ('Plate arm up/down', 'cherry_plate_up', 'cherry_plate_down')
+ out_button ('Plate clamp', 'cherry_plate_clamp')
self.backward_var = IntVar ()
self.backward_button = Checkbutton (self.control_frame,
text = 'Backward', variable = self.backward_var)