From 8ce2600b52b3233f749dec8c4f7bbfb395a37131 Mon Sep 17 00:00:00 2001 From: Ryan Nah Date: Wed, 5 Jun 2024 18:01:36 +0000 Subject: [PATCH] Merge from TIL-24/til-24-base@6732d14 --- autonomy/src/robot_env.py | 2 +- main/src/participant_server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autonomy/src/robot_env.py b/autonomy/src/robot_env.py index 25509bb..f63cdf6 100644 --- a/autonomy/src/robot_env.py +++ b/autonomy/src/robot_env.py @@ -35,7 +35,7 @@ def __init__(self, uri: str, robot_sn: str, robot_ip: str, local_ip: str) -> Non def sub_data_handler(angle_info): _, self.camera_yaw, _, _ = angle_info - print(f"yaw: {self.camera_yaw}") + # print(f"yaw: {self.camera_yaw}") # responsible for updating the server self.loop.create_task( self.send_websocket( diff --git a/main/src/participant_server.py b/main/src/participant_server.py index beea3c7..0626d15 100644 --- a/main/src/participant_server.py +++ b/main/src/participant_server.py @@ -38,7 +38,7 @@ async def server(): print("done!") break else: - await manager.send_result({"health": "ok"}) + await manager.send_result(websocket, {"health": "ok"}) continue print(f"run {index}") # ASR