summaryrefslogtreecommitdiffhomepage
path: root/digital/io/tools
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/tools')
-rw-r--r--digital/io/tools/test_simu_control.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/digital/io/tools/test_simu_control.py b/digital/io/tools/test_simu_control.py
index 64c856aa..7145ed1a 100644
--- a/digital/io/tools/test_simu_control.py
+++ b/digital/io/tools/test_simu_control.py
@@ -62,11 +62,11 @@ class TestSimuControl (TestSimu):
def clamp_command (self):
if self.clamp_var.get ():
- pos = 1720
+ self.mimot.clamp ('a0', 0x60, 0x100)
+ self.mimot.clamp ('a1', 0x60, 0x100)
else:
- pos = 0
- self.mimot.goto_pos ('a0', pos)
- self.mimot.goto_pos ('a1', pos)
+ self.mimot.goto_pos ('a0', 0)
+ self.mimot.goto_pos ('a1', 0)
def elevator_command (self):
if self.elevator_var.get ():