diff options
author | Johan Jansen <jnsn.johan@gmail.com> | 2015-02-09 12:42:02 +0100 |
---|---|---|
committer | Johan Jansen <jnsn.johan@gmail.com> | 2015-02-09 12:42:02 +0100 |
commit | 70e4554f76d302fc8a8932ef2352039004172871 (patch) | |
tree | 374e802bd613f059a78fafb179b27f2f90b26cc9 /src/modules/land_detector | |
parent | d8aebe1c07f64960fe526990bd6e5f37f4510f2c (diff) | |
download | px4-firmware-70e4554f76d302fc8a8932ef2352039004172871.tar.gz px4-firmware-70e4554f76d302fc8a8932ef2352039004172871.tar.bz2 px4-firmware-70e4554f76d302fc8a8932ef2352039004172871.zip |
LandDetector: Fix parameter swapped bug
Diffstat (limited to 'src/modules/land_detector')
-rw-r--r-- | src/modules/land_detector/MulticopterLandDetector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/land_detector/MulticopterLandDetector.cpp b/src/modules/land_detector/MulticopterLandDetector.cpp index 277cb9363..ce391c817 100644 --- a/src/modules/land_detector/MulticopterLandDetector.cpp +++ b/src/modules/land_detector/MulticopterLandDetector.cpp @@ -60,9 +60,9 @@ MulticopterLandDetector::MulticopterLandDetector() : LandDetector(), _arming({}), _landTimer(0) { - _paramHandle.maxRotation = param_find("LNDMC_Z_VEL_MAX"); + _paramHandle.maxRotation = param_find("LNDMC_ROT_MAX"); _paramHandle.maxVelocity = param_find("LNDMC_XY_VEL_MAX"); - _paramHandle.maxClimbRate = param_find("LNDMC_ROT_MAX"); + _paramHandle.maxClimbRate = param_find("LNDMC_Z_VEL_MAX"); _paramHandle.maxThrottle = param_find("LNDMC_THR_MAX"); } |