feat: set correct movement
This commit is contained in:
2
app.py
2
app.py
@@ -48,7 +48,7 @@ def image_stream():
|
|||||||
|
|
||||||
@sio.on("camera")
|
@sio.on("camera")
|
||||||
def camera_message(directions):
|
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']}")
|
print(f"Moving camera in direction {directions['angle']:f} with velocity {directions['force']}")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user