![]() |
Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
|
Defines how many consecutive cycles a condition must be met before a state transition occurs. More...
Macros | |
| #define | LIFTOFF_TRESHOLD_ACC 6000 |
| Raw accelerometer reading threshold for liftoff detection. | |
| #define | COASTING_SAFETY_COUNTER 2 |
| Cycles for burnout detection. | |
| #define | APOGEE_SAFETY_COUNTER 3 |
| Cycles for apogee detection (velocity < 0). | |
| #define | MAIN_SAFETY_COUNTER 3 |
| Cycles for main parachute deployment altitude check. | |
| #define | TOUCHDOWN_SAFETY_COUNTER 3 |
| Cycles for touchdown logic. | |
| #define | AIRBRAKES_SAFETY_COUNTER 5 |
| Safety counter related to airbrake deployment logic. | |
| #define | MIN_TICK_COUNTS_BETWEEN_BURNING_APOGEE 2500 |
| Minimum time ticks between burnout and apogee. | |
| #define | LIFTOFF_SAFETY_COUNTER 30 |
| Cycles for liftoff logic. | |
Defines how many consecutive cycles a condition must be met before a state transition occurs.
These counters prevent spurious state changes due to noisy sensor data.
| #define AIRBRAKES_SAFETY_COUNTER 5 |
Safety counter related to airbrake deployment logic.
Definition at line 64 of file FLIGHT_PARAMETERS_CONFIG.h.
| #define APOGEE_SAFETY_COUNTER 3 |
Cycles for apogee detection (velocity < 0).
Definition at line 61 of file FLIGHT_PARAMETERS_CONFIG.h.
| #define COASTING_SAFETY_COUNTER 2 |
Cycles for burnout detection.
Definition at line 60 of file FLIGHT_PARAMETERS_CONFIG.h.
| #define LIFTOFF_SAFETY_COUNTER 30 |
Cycles for liftoff logic.
Definition at line 66 of file FLIGHT_PARAMETERS_CONFIG.h.
| #define LIFTOFF_TRESHOLD_ACC 6000 |
Raw accelerometer reading threshold for liftoff detection.
Definition at line 59 of file FLIGHT_PARAMETERS_CONFIG.h.
| #define MAIN_SAFETY_COUNTER 3 |
Cycles for main parachute deployment altitude check.
Definition at line 62 of file FLIGHT_PARAMETERS_CONFIG.h.
| #define MIN_TICK_COUNTS_BETWEEN_BURNING_APOGEE 2500 |
Minimum time ticks between burnout and apogee.
Definition at line 65 of file FLIGHT_PARAMETERS_CONFIG.h.
| #define TOUCHDOWN_SAFETY_COUNTER 3 |
Cycles for touchdown logic.
Definition at line 63 of file FLIGHT_PARAMETERS_CONFIG.h.