From e6f29b8c3456beb9a18010621f6d66b43cc7dc46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Chirico=20Indreb=C3=B8?= Date: Thu, 22 Feb 2024 10:17:51 +0100 Subject: [PATCH] Add missing argument to is_connected --- src/isar_exr/robotinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/isar_exr/robotinterface.py b/src/isar_exr/robotinterface.py index cc274fc..8dd89a5 100644 --- a/src/isar_exr/robotinterface.py +++ b/src/isar_exr/robotinterface.py @@ -299,7 +299,7 @@ def get_telemetry_publishers( def robot_status(self) -> RobotStatus: # TODO: find endpoint to check if it is stuck, maybe MissionExecutionStatusEnum.PAUSED try: - if not self.api.is_connected(): + if not self.api.is_connected(settings.ROBOT_EXR_ID): return RobotStatus.Offline mission_status: MissionStatus = self.api.get_mission_status(