mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 09:53:35 +08:00
launchdetection initiailize motorDelayCounter
This commit is contained in:
@@ -49,6 +49,7 @@ CatapultLaunchMethod::CatapultLaunchMethod(SuperBlock *parent) :
|
|||||||
SuperBlock(parent, "CAT"),
|
SuperBlock(parent, "CAT"),
|
||||||
last_timestamp(hrt_absolute_time()),
|
last_timestamp(hrt_absolute_time()),
|
||||||
integrator(0.0f),
|
integrator(0.0f),
|
||||||
|
motorDelayCounter(0.0f),
|
||||||
state(LAUNCHDETECTION_RES_NONE),
|
state(LAUNCHDETECTION_RES_NONE),
|
||||||
thresholdAccel(this, "A"),
|
thresholdAccel(this, "A"),
|
||||||
thresholdTime(this, "T"),
|
thresholdTime(this, "T"),
|
||||||
|
|||||||
Reference in New Issue
Block a user