From b1d537c603cfe87b909d8fc3d38d56b00a414c9b Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Wed, 4 Jan 2017 12:24:19 -0500 Subject: [PATCH] launchdetection initiailize motorDelayCounter --- src/lib/launchdetection/CatapultLaunchMethod.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/launchdetection/CatapultLaunchMethod.cpp b/src/lib/launchdetection/CatapultLaunchMethod.cpp index b5692cc7e7..630b6ae3a0 100644 --- a/src/lib/launchdetection/CatapultLaunchMethod.cpp +++ b/src/lib/launchdetection/CatapultLaunchMethod.cpp @@ -49,6 +49,7 @@ CatapultLaunchMethod::CatapultLaunchMethod(SuperBlock *parent) : SuperBlock(parent, "CAT"), last_timestamp(hrt_absolute_time()), integrator(0.0f), + motorDelayCounter(0.0f), state(LAUNCHDETECTION_RES_NONE), thresholdAccel(this, "A"), thresholdTime(this, "T"),