diff --git a/src/isar/state_machine/state_machine.py b/src/isar/state_machine/state_machine.py index a8889768..2b951e65 100644 --- a/src/isar/state_machine/state_machine.py +++ b/src/isar/state_machine/state_machine.py @@ -341,6 +341,8 @@ def _mission_started(self) -> None: def _step_finished(self) -> None: self.publish_step_status(step=self.current_step) + self.current_task.update_task_status() + self.publish_task_status(task=self.current_task) self.iterate_current_task() self.iterate_current_step() @@ -379,6 +381,8 @@ def _initiate_infeasible(self) -> None: if self.stepwise_mission: self.current_step.status = StepStatus.Failed self.publish_step_status(step=self.current_step) + self.current_task.update_task_status() + self.publish_task_status(task=self.current_task) self.iterate_current_task() self.iterate_current_step()