From 6b19b6ff959f30b67048923ad472847793a7eeb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Mon, 1 Nov 2021 14:06:28 +0100 Subject: [PATCH] fix: emulator polling input at 10Hz now --- src/emulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emulator.py b/src/emulator.py index 4e61934..9a05cf3 100644 --- a/src/emulator.py +++ b/src/emulator.py @@ -44,7 +44,7 @@ async def main(): while True: - if core.frame_counter % 30 == 0: # 2Hz + if core.frame_counter % 6 == 0: # 10Hz await websocket.send('{"emu":"get"}') message = await websocket.recv() data = json.loads(message)