land detector move hysteresis constants into FW and MC

This commit is contained in:
Daniel Agar
2017-08-31 22:49:44 -04:00
parent fd8a5644e8
commit 90819b2852
6 changed files with 25 additions and 18 deletions
@@ -73,6 +73,10 @@ protected:
virtual float _get_max_altitude() override;
private:
/** Time in us that landing conditions have to hold before triggering a land. */
static constexpr uint64_t LAND_DETECTOR_TRIGGER_TIME_US = 1500000;
struct {
param_t maxVelocity;
param_t maxClimbRate;