landdetector mc: widen acceptance threshold after landing instead of arming

This commit is contained in:
Dennis Mannhart
2017-08-15 10:30:29 +02:00
committed by Sander Smeets
parent 3c26c11144
commit f50052f290
3 changed files with 25 additions and 21 deletions
@@ -138,7 +138,7 @@ private:
struct battery_status_s _battery;
uint64_t _min_trust_start; ///< timestamp when minimum trust was applied first
uint64_t _arming_time;
uint64_t _landed_time;
/* get control mode dependent pilot throttle threshold with which we should quit landed state and take off */
float _get_takeoff_throttle();