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

Launch sequence handler #9

Open
mc-cat-tty opened this issue May 12, 2021 · 0 comments
Open

Launch sequence handler #9

mc-cat-tty opened this issue May 12, 2021 · 0 comments

Comments

@mc-cat-tty
Copy link
Member

FSM to manage different stages of the launch, from the power-on to the landing.
Organized with different hooks (callback functions registered for a specific event):

  • on_poweron -> selftest
  • series of beeps if error
  • send n packets to the ground station
  • on_launch -> reactivate sensors
  • on_max_height -> start measurements and transmission
  • on_landing -> close files, turn off the fan, pause sensors (except GPS)
  • on_ground -> slow down packet sending, send only GPS coordinates
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

No branches or pull requests

1 participant