From 6d1df8f721f5410b566f616a807bfd9060e830bd Mon Sep 17 00:00:00 2001 From: Vasily Dybala Date: Wed, 25 Feb 2015 22:49:02 +0300 Subject: Update land detector parameters at startup. --- src/modules/land_detector/FixedwingLandDetector.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules') diff --git a/src/modules/land_detector/FixedwingLandDetector.cpp b/src/modules/land_detector/FixedwingLandDetector.cpp index 8e5bcf7ba..e26954d1a 100644 --- a/src/modules/land_detector/FixedwingLandDetector.cpp +++ b/src/modules/land_detector/FixedwingLandDetector.cpp @@ -66,6 +66,8 @@ void FixedwingLandDetector::initialize() // Subscribe to local position and airspeed data _vehicleLocalPositionSub = orb_subscribe(ORB_ID(vehicle_local_position)); _airspeedSub = orb_subscribe(ORB_ID(airspeed)); + + updateParameterCache(true); } void FixedwingLandDetector::updateSubscriptions() -- cgit v1.2.3