MulticopterLandDetector: fix crawl speed parameter fetching

This commit is contained in:
Matthias Grob 2021-11-11 17:42:22 +01:00 committed by Daniel Agar
parent fb8b9b647a
commit 1df9d6fca6

View File

@ -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",