Browse Source

MulticopterLandDetector: fix crawl speed parameter fetching

master
Matthias Grob 3 years ago committed by Daniel Agar
parent
commit
1df9d6fca6
  1. 1
      src/modules/land_detector/MulticopterLandDetector.cpp

1
src/modules/land_detector/MulticopterLandDetector.cpp

@ -120,6 +120,7 @@ void MulticopterLandDetector::_update_params() @@ -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",

Loading…
Cancel
Save