From 1df9d6fca6ead70dfe62e36002d116ef80aabcb6 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Thu, 11 Nov 2021 17:42:22 +0100 Subject: [PATCH] MulticopterLandDetector: fix crawl speed parameter fetching --- src/modules/land_detector/MulticopterLandDetector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/land_detector/MulticopterLandDetector.cpp b/src/modules/land_detector/MulticopterLandDetector.cpp index 9d90d61de2..03a8c84ad2 100644 --- a/src/modules/land_detector/MulticopterLandDetector.cpp +++ b/src/modules/land_detector/MulticopterLandDetector.cpp @@ -120,6 +120,7 @@ void MulticopterLandDetector::_update_params() param_get(_paramHandle.minThrottle, &_params.minThrottle); param_get(_paramHandle.minManThrottle, &_params.minManThrottle); param_get(_paramHandle.landSpeed, &_params.landSpeed); + param_get(_paramHandle.crawlSpeed, &_params.crawlSpeed); if (_param_lndmc_z_vel_max.get() > _params.landSpeed) { PX4_ERR("LNDMC_Z_VEL_MAX > MPC_LAND_SPEED, updating %.3f -> %.3f",