land detector: log more states in order to facilitate debugging ground contact state

Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
RomanBapst
2021-05-04 16:43:33 +02:00
committed by Matthias Grob
parent 3348869ae1
commit 269ce07cb5
5 changed files with 36 additions and 12 deletions
+5
View File
@@ -136,6 +136,11 @@ protected:
*/
virtual bool _get_ground_effect_state() { return false; }
virtual bool _get_in_descend() { return false; }
virtual bool _get_has_low_throttle() { return false; }
virtual bool _get_horizontal_movement() { return false; }
virtual bool _get_vertical_movement() { return false; }
virtual bool _get_close_to_ground_or_skipped_check() { return false; }
virtual void _set_hysteresis_factor(const int factor) = 0;
systemlib::Hysteresis _freefall_hysteresis{false};