From 933a8f56e6b0f91e8ae01b70e49c7e36bcefe922 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Fri, 5 Mar 2021 16:02:56 +0100 Subject: [PATCH] fehlerkorrektur --- kamera_server.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kamera_server.py b/kamera_server.py index 39cc264..a320d05 100644 --- a/kamera_server.py +++ b/kamera_server.py @@ -99,18 +99,18 @@ def action(changePin, action): def motor_test(drehen, pos1, kippen, pos2, zoom, pos3): if drehen == "drehen": #m1.gehe_zu(int(position)) - th1 = motor_bewegen(m1, (int(pos1)) - #th1.join() + th1 = motor_bewegen(m1, (int(pos1))) + th1.join() if kippen == "kippen": #m1.gehe_zu(int(position)) - th2 = motor_bewegen(m2, (int(pos2)) - #th2.join() + th2 = motor_bewegen(m2, (int(pos2))) + th2.join() if zoom == "zoom": #m1.gehe_zu(int(position)) - th3 = motor_bewegen(m3, (int(pos3)) - #th3.join() + th3 = motor_bewegen(m3, (int(pos3))) + th3.join() return 'Drehen: ' + str(m1.pos) + ', Kippen: ' + str(m2.pos) + ', Zoom: ' + str(m3.pos)