mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
land_detector: fix uninitialized value (#4659)
This commit is contained in:
@@ -67,7 +67,8 @@ MulticopterLandDetector::MulticopterLandDetector() : LandDetector(),
|
||||
_ctrl_state{},
|
||||
_ctrl_mode{},
|
||||
_landTimer(0),
|
||||
_freefallTimer(0)
|
||||
_freefallTimer(0),
|
||||
_min_trust_start(0)
|
||||
{
|
||||
_paramHandle.maxRotation = param_find("LNDMC_ROT_MAX");
|
||||
_paramHandle.maxVelocity = param_find("LNDMC_XY_VEL_MAX");
|
||||
|
||||
Reference in New Issue
Block a user