Enable #define SIMULATION_MODE when testing on the bench—it lets you fake altitude changes via serial commands.
radio, providing real-time airtime distribution and local/remote RX rate histograms. GPS Synchronization ltu-rocket firmware
The firmware implements a on the barometer data. If one sensor reads a pressure spike inconsistent with the others (e.g., from a transient shock), the firmware automatically excludes it and reweights the remaining sensors. The IMU fusion uses a complementary filter during boost and switches to an Extended Kalman Filter (EKF) during coast and descent, when vibration is lower. If one sensor reads a pressure spike inconsistent
Using the serial terminal or a connected LCD: The LTU-Rocket firmware was architected with a "defensive
However, the true mark of professional-grade aerospace firmware is not just how it handles nominal operations, but how it manages anomalies. The LTU-Rocket firmware was architected with a "defensive programming" philosophy. In the harsh environment of rocketry, where vibration and electromagnetic interference are prevalent, memory corruption or sensor failure is a tangible risk. The firmware employs watchdog timers and redundant state checks to ensure the system never enters an unknown state. If a sensor reports out-of-bounds data, the software must logic-check the reading against redundant sensors, rejecting bad data without crashing the flight computer. This robustness ensures that a single hardware fault does not cascade into a catastrophic mission failure.