diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-17 23:26:43 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-17 23:26:43 +0100 |
commit | b1127315b453e129753e1f59aff0b0f6906cbaac (patch) | |
tree | 89a0c61055fbbd7313e22db2d811e0d6c1e76440 /src/modules/land_detector/MulticopterLandDetector.cpp | |
parent | 510a314386529f95978078d27da25368435d8d90 (diff) | |
download | px4-firmware-b1127315b453e129753e1f59aff0b0f6906cbaac.tar.gz px4-firmware-b1127315b453e129753e1f59aff0b0f6906cbaac.tar.bz2 px4-firmware-b1127315b453e129753e1f59aff0b0f6906cbaac.zip |
Fixed land detector param names
Diffstat (limited to 'src/modules/land_detector/MulticopterLandDetector.cpp')
-rw-r--r-- | src/modules/land_detector/MulticopterLandDetector.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/land_detector/MulticopterLandDetector.cpp b/src/modules/land_detector/MulticopterLandDetector.cpp index 537134618..cc984f11f 100644 --- a/src/modules/land_detector/MulticopterLandDetector.cpp +++ b/src/modules/land_detector/MulticopterLandDetector.cpp @@ -33,7 +33,7 @@ /** * @file MulticopterLandDetector.cpp - * Land detection algorithm + * Land detection algorithm for multicopters * * @author Johan Jansen <jnsn.johan@gmail.com> * @author Morten Lysgaard <morten@lysgaard.no> @@ -62,10 +62,10 @@ MulticopterLandDetector::MulticopterLandDetector() : LandDetector(), _landTimer(0) { - _paramHandle.maxRotation = param_find("LAND_MC_Z_VEL_MAX"); - _paramHandle.maxVelocity = param_find("LAND_MC_XY_VEL_MAX"); - _paramHandle.maxClimbRate = param_find("LAND_MC_ROT_MAX"); - _paramHandle.maxThrottle = param_find("LAND_MC_THR_MAX"); + _paramHandle.maxRotation = param_find("LNDMC_Z_VEL_MAX"); + _paramHandle.maxVelocity = param_find("LNDMC_XY_VEL_MAX"); + _paramHandle.maxClimbRate = param_find("LNDMC_ROT_MAX"); + _paramHandle.maxThrottle = param_find("LNDMC_THR_MAX"); } void MulticopterLandDetector::initialize() |