Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix localization failure bug and refactor #1355

Merged

Conversation

oysand
Copy link
Contributor

@oysand oysand commented Jan 24, 2024

Main fix: Current area is set based on result from localization mission.

Other changes:

  • Add new event OnMissionCompleted
    • Needed in the case of localization mission. We need to know the status of this mission when it completes before we have enough information to decide which mission (if any) to run next.
  • Refactoring

@oysand oysand force-pushed the fix-localization-failure-should-cancel-mission branch from 26598f9 to 8bebb1c Compare January 24, 2024 14:54
@oysand oysand linked an issue Jan 25, 2024 that may be closed by this pull request
@oysand oysand marked this pull request as draft January 25, 2024 07:38
@oysand oysand force-pushed the fix-localization-failure-should-cancel-mission branch from fa26bdb to 3e63e50 Compare February 21, 2024 08:40
@oysand oysand force-pushed the fix-localization-failure-should-cancel-mission branch 7 times, most recently from ff4a7a1 to 6eeb63d Compare February 26, 2024 09:19
@Afonso-2403 Afonso-2403 force-pushed the fix-localization-failure-should-cancel-mission branch 2 times, most recently from be65564 to 656ce98 Compare February 28, 2024 09:37
@Afonso-2403 Afonso-2403 force-pushed the fix-localization-failure-should-cancel-mission branch 3 times, most recently from 5ea87bd to 2bc0ede Compare March 1, 2024 12:01
@oysand oysand marked this pull request as ready for review March 1, 2024 12:20
@oysand
Copy link
Contributor Author

oysand commented Mar 1, 2024

See if this needs to be addressed #1446

@oysand oysand force-pushed the fix-localization-failure-should-cancel-mission branch from 683dae4 to 2377c29 Compare March 3, 2024 12:05
@oysand
Copy link
Contributor Author

oysand commented Mar 3, 2024

See if this needs to be addressed #1446

Added a fix to the refactor commit: Refactor OnRobotAvailable and localization feature

oysand and others added 3 commits March 3, 2024 13:28
Large parts of the OnRobotAvailable and localization feature
have been moved into the StartNextMissionRunIfSystemIsAvailable
When a return home mission is created
the OnMissionRunCreated event
should not be fired
@oysand oysand force-pushed the fix-localization-failure-should-cancel-mission branch from 2377c29 to 3a60e78 Compare March 3, 2024 12:29
Copy link
Contributor

@tsundvoll tsundvoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When this is tested locally, I am happy with the changes

@oysand oysand merged commit 083456a into equinor:main Mar 4, 2024
10 checks passed
@oysand oysand deleted the fix-localization-failure-should-cancel-mission branch March 4, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants