![]() |
ACwing FC firmware
STM32WB55: attitude IEKF, altitude Kalman filter, flight core, protocol v2
|
Files | |
| alt_ctrl.c | |
| alt_ctrl.h | |
| Vertical control: height -> climb rate -> collective thrust. | |
| battery.c | |
| Battery monitor (see battery.h). | |
| battery.h | |
| Battery monitor: voltage, current, consumed charge, cell count, state of charge, flight time left and the warning level used by the battery failsafes (HANDOVER_FW.md §4 POWER, §6, §9 item 1, §10.6). | |
| calib_mgr.c | |
| Calibration state machines (see calib_mgr.h, HANDOVER_FW.md §10). | |
| calib_mgr.h | |
| Sensor calibrations of protocol v2 (HANDOVER_FW.md §10). | |
| checks.c | |
| CHECKS items (see checks.h). | |
| checks.h | |
| Pre-flight checks (CHECKS frame, HANDOVER_FW.md §9). | |
| control_hooks.c | |
| Empty implementations (phase 1: attitude estimation only). | |
| control_hooks.h | |
| Control hook points, already called by the estimation task at the right rates. | |
| fc_core.c | |
| Flight core (see fc_core.h). | |
| fc_core.h | |
| Flight core: arming, modes, automatic actions, failsafes, motor test (HANDOVER_FW.md §6, §7, §10.7). | |
| motors.c | |
| motors.h | |
| PWM for 4 brushed coreless motors (8520, 1S) - PREPARED, unused in phase 1. | |