aboutsummaryrefslogtreecommitdiff
path: root/src/modules/land_detector/FixedwingLandDetector.cpp
diff options
context:
space:
mode:
authorJohan Jansen <jnsn.johan@gmail.com>2015-01-15 14:58:06 +0100
committerJohan Jansen <jnsn.johan@gmail.com>2015-01-15 14:58:06 +0100
commit510a314386529f95978078d27da25368435d8d90 (patch)
tree2b6d31a5e9b324395cdfa848ca39f57b14370f6a /src/modules/land_detector/FixedwingLandDetector.cpp
parent92add9cf8003c4fd8b01143626c3a101062dd9dd (diff)
downloadpx4-firmware-510a314386529f95978078d27da25368435d8d90.tar.gz
px4-firmware-510a314386529f95978078d27da25368435d8d90.tar.bz2
px4-firmware-510a314386529f95978078d27da25368435d8d90.zip
LandDetector: Shorter and less ambiguous param names
Diffstat (limited to 'src/modules/land_detector/FixedwingLandDetector.cpp')
-rw-r--r--src/modules/land_detector/FixedwingLandDetector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/land_detector/FixedwingLandDetector.cpp b/src/modules/land_detector/FixedwingLandDetector.cpp
index 0d6f37310..52084e4c0 100644
--- a/src/modules/land_detector/FixedwingLandDetector.cpp
+++ b/src/modules/land_detector/FixedwingLandDetector.cpp
@@ -57,9 +57,9 @@ FixedwingLandDetector::FixedwingLandDetector() : LandDetector(),
_airspeed_filtered(0.0f),
_landDetectTrigger(0)
{
- _paramHandle.maxVelocity = param_find("LAND_FW_VELOCITY_MAX");
- _paramHandle.maxClimbRate = param_find("LAND_FW_MAX_CLIMB_RATE");
- _paramHandle.maxAirSpeed = param_find("LAND_FW_AIR_SPEED_MAX");
+ _paramHandle.maxVelocity = param_find("LAND_FW_VEL_XY_MAX");
+ _paramHandle.maxClimbRate = param_find("LAND_FW_VEL_Z_MAX");
+ _paramHandle.maxAirSpeed = param_find("LAND_FW_AIRSPEED_MAX");
}
void FixedwingLandDetector::initialize()