route eichen eingefügt
This commit is contained in:
parent
23bf597878
commit
b636129243
@ -114,6 +114,14 @@ def motor_test(drehen, pos1, kippen, pos2, zoom, pos3):
|
||||
|
||||
return 'Drehen: ' + str(m1.pos) + ', Kippen: ' + str(m2.pos) + ', Zoom: ' + str(m3.pos)
|
||||
|
||||
@kamera_server.route("/eichen")
|
||||
def motor_eichen():
|
||||
m1.eichen()
|
||||
m2.eichen()
|
||||
m3.eichen()
|
||||
|
||||
return 'fahre Motoren auf Startposition'
|
||||
|
||||
if __name__ == "__main__":
|
||||
kamera_server.run(host='0.0.0.0')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user