aboutsummaryrefslogtreecommitdiff
path: root/src/modules/land_detector/LandDetector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/land_detector/LandDetector.h')
-rw-r--r--src/modules/land_detector/LandDetector.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/land_detector/LandDetector.h b/src/modules/land_detector/LandDetector.h
index ba15ad498..09db6e474 100644
--- a/src/modules/land_detector/LandDetector.h
+++ b/src/modules/land_detector/LandDetector.h
@@ -89,6 +89,9 @@ protected:
static constexpr uint32_t LAND_DETECTOR_UPDATE_RATE = 50; /**< Run algorithm at 50Hz */
+ static constexpr uint64_t LAND_DETECTOR_TRIGGER_TIME = 2000000; /**< usec that landing conditions have to hold
+ before triggering a land */
+
protected:
orb_advert_t _landDetectedPub; /**< publisher for position in local frame */
struct vehicle_land_detected_s _landDetected; /**< local vehicle position */