Skip to content
Snippets Groups Projects
Commit f75dd373 authored by Dennis Mannhart's avatar Dennis Mannhart Committed by Lorenz Meier
Browse files

landdetector: delete or for ground_contact detection

parent 2890af73
No related branches found
No related tags found
No related merge requests found
......@@ -195,7 +195,7 @@ void LandDetector::_update_state()
_freefall_hysteresis.set_state_and_update(_get_freefall_state());
_landed_hysteresis.set_state_and_update(_get_landed_state());
_maybe_landed_hysteresis.set_state_and_update(_get_maybe_landed_state());
_ground_contact_hysteresis.set_state_and_update(_landed_hysteresis.get_state() || _get_ground_contact_state());
_ground_contact_hysteresis.set_state_and_update(_get_ground_contact_state());
if (_freefall_hysteresis.get_state()) {
_state = LandDetectionState::FREEFALL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment