Skip to content

Commit

Permalink
Use missionRunResponse in signalr messages
Browse files Browse the repository at this point in the history
  • Loading branch information
andchiind committed Feb 20, 2024
1 parent 34c5577 commit 55a2679
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/api/EventHandlers/MqttEventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ private async void OnIsarRobotInfo(object? sender, MqttReceivedArgs mqttArgs)
if (isarRobotInfo.CurrentInstallation is not null) UpdateCurrentInstallationIfChanged(installation, ref robot, ref updatedFields);
if (updatedFields.IsNullOrEmpty()) return;

// TODO: why do we not update status? If it is idle then the mission is clearly done

robot = await robotService.Update(robot);
_logger.LogInformation("Updated robot '{Id}' ('{RobotName}') in database: {Updates}", robot.Id, robot.Name, updatedFields);

Expand Down

0 comments on commit 55a2679

Please sign in to comment.