feat: set correct movement

This commit is contained in:
2020-05-17 19:54:32 +02:00
parent 168a2720dc
commit 12b6fbcc1c

2
app.py
View File

@@ -48,7 +48,7 @@ def image_stream():
@sio.on("camera")
def camera_message(directions):
walle.set_movement(directions['angle'], directions['force'])
walle.set_eye_velocity(directions['angle'], directions['force'])
print(f"Moving camera in direction {directions['angle']:f} with velocity {directions['force']}")