From 39a78eac2ceec9619b45bb004f2d2ebe11a1e8aa Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Sun, 17 Oct 2021 23:00:02 +0200 Subject: [PATCH] debug m3 --- kamera_server.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kamera_server.py b/kamera_server.py index 86cbfff..5cadc81 100644 --- a/kamera_server.py +++ b/kamera_server.py @@ -126,10 +126,6 @@ def motor_test(drehen, pos1, kippen, pos2, zoom, pos3): th2.join() th3.join() - while m1.aktiv == 1 or m2.aktiv == 1 or m3.aktiv == 1: - print('warten') - time.sleep(1) - return 'Drehen: ' + str(m1.pos) + ', Kippen: ' + str(m2.pos) + ', Zoom: ' + str(m3.pos) @kamera_server.route("/eichen")