route für alle 3 achsen
This commit is contained in:
parent
6976e05684
commit
d4b83ccccf
@ -100,17 +100,17 @@ def motor_test(motor, position):
|
|||||||
if drehen == "drehen":
|
if drehen == "drehen":
|
||||||
#m1.gehe_zu(int(position))
|
#m1.gehe_zu(int(position))
|
||||||
th1 = motor_bewegen(m1, (int(pos1))
|
th1 = motor_bewegen(m1, (int(pos1))
|
||||||
th1.join()
|
#th1.join()
|
||||||
|
|
||||||
if kippen == "kippen":
|
if kippen == "kippen":
|
||||||
#m1.gehe_zu(int(position))
|
#m1.gehe_zu(int(position))
|
||||||
th2 = motor_bewegen(m2, (int(pos2))
|
th2 = motor_bewegen(m2, (int(pos2))
|
||||||
th3.join()
|
#th2.join()
|
||||||
|
|
||||||
if zoom == "zoom":
|
if zoom == "zoom":
|
||||||
#m1.gehe_zu(int(position))
|
#m1.gehe_zu(int(position))
|
||||||
th3 = motor_bewegen(m3, (int(pos3))
|
th3 = motor_bewegen(m3, (int(pos3))
|
||||||
th3.join()
|
#th3.join()
|
||||||
|
|
||||||
return 'Drehen: ' + str(m1.pos) + ', Kippen: ' + str(m2.pos) + ', Zoom: ' + str(m3.pos)
|
return 'Drehen: ' + str(m1.pos) + ', Kippen: ' + str(m2.pos) + ', Zoom: ' + str(m3.pos)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user