N4 Flight Software
N4
Flight software used for the N4 flight computers
Loading...
Searching...
No Matches
Functions
|
Variables
state_machine.cpp File Reference
#include <Arduino.h>
#include "state_machine.h"
#include "
defs.h
"
Functions
bool
pre_flight
(float altitude)
bool
powered_flight
(float altitude)
bool
apogee
(float altitude)
bool
post_flight
(float altitude)
bool
ballistic_descent
(float velocity)
bool
parachute_descent
(float velocity)
int
checkState
(float altitude, float velocity)
Variables
float
MAX_ALTITUDE
= 0
float
PREVIOUS_ALTITUDE
= 0
float
ALTITUDE_BUFFER
[5]
int
ALTITUDE_INDEX
= 0
int
PREVIOUS_STATE
= 0
Detailed Description
Author
Edwin Mwiti
Version
0.1
Date
2023-03-28
n4-flight-software
include
state_machine.cpp
Generated by
1.13.1