Skip to content

Mission info is deleted as soon as mission ends #360

@andchiind

Description

@andchiind

Describe the bug
Currently when we exit the mission simulator, we also set the simulator object to None, thereby losing info on mission status and task status. This is not realistic to how robots work, as they store this information even after the mission is completed. We should get correct status when asking isar-robot for task status and mission status, even after mission completion.

To Reproduce
Stop a mission and get the task status.

Expected behavior
We should only update the simulator object when we get a new mission. Potentially we could even store the N-last mission/task statuses if necessary, as this is also more realistic, but probably not needed for now.

Screenshots
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions