Skip to content

Commit

Permalink
Add missing argument to is_connected
Browse files Browse the repository at this point in the history
  • Loading branch information
andchiind committed Feb 22, 2024
1 parent fa0980c commit e6f29b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isar_exr/robotinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e6f29b8

Please sign in to comment.