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; };