-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
events: sort out the chaos between UPFG control, staging, and UI
This introduces one big change to how things are handled: previously, the flag `stagingInProgress` was FALSE during the time between exiting the passive guidance loop and engaging UPFG for the first time. From now on, this flag will be TRUE whenever any transition between actively guided happens - including the first one. Additionally, several extra flags to explicitly convey information about the current state of the vehicle and guidance are added: * `activeGuidanceMode` * `prestageHold` * `upfgEngaged` * `"isSustainer"`, internal to each vehicle stage. None of those introduce any new concept, it's just giving clear names to existing concepts and rewriting some code to use those concepts in a transparent fashion, as well as updating the UI to present those concepts to the user. Consult upfgSteeringControl for a more in-depth explanation.
- Loading branch information
Showing
4 changed files
with
144 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.