MulticopterLandDetector: Make land detection time configurable

The tree stages used arbitrary 350, 250 300ms totally 900ms
So this changes it to each stage to a third of the parameter.
Default it is 1 second -> 333ms per stage.
This commit is contained in:
Matthias Grob
2021-05-04 16:43:33 +02:00
parent 269ce07cb5
commit 2e292abfff
7 changed files with 26 additions and 27 deletions
@@ -56,7 +56,6 @@ protected:
bool _get_ground_contact_state() override;
bool _get_landed_state() override;
void _set_hysteresis_factor(const int factor) override {};
};
} // namespace land_detector