Skip to content

Update state machine and global flags#35

Open
sarahtran1 wants to merge 1 commit intoDEVfrom
stateMachineUpdate
Open

Update state machine and global flags#35
sarahtran1 wants to merge 1 commit intoDEVfrom
stateMachineUpdate

Conversation

@sarahtran1
Copy link
Contributor

Updated the state machine for this year's competition, adding acceleration values since we have access to them now. Moved flags into a struct for codifying.
Fixing: Task #28

Was able to successfully build with some minor errors.

  1. The flags are now in a struct called global_flags.
  2. Added an additional flag to activate a mechanism for releasing the egg.
  3. Added a function that reset the altitude history. Used to prevent calls to the altitude history outside of the MS5607 driver.
    - Called calibrateAltitudeHistory.

Updated the state machine for this year's competition, adding acceleration values since we have access to them now. Moved flags into a struct for codifying.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant