From 89df4699ce09a37b1b5ec637c41a180502f14dc6 Mon Sep 17 00:00:00 2001 From: Tyler Abbassi Date: Fri, 18 Oct 2024 19:21:26 -0400 Subject: [PATCH] Allowed for accurate apogee sum detection --- src/state.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/state.cpp b/src/state.cpp index 1b7b54b..8dd4df3 100644 --- a/src/state.cpp +++ b/src/state.cpp @@ -35,6 +35,7 @@ State::State(double arm_time, double arm_alt, double arm_vel, double arm_acc, do this->drogue_channel = &drogue; this->main_channel = &main; this->sus_channel = &sust; + this->apg_detection_sum = 0; };