Skip to content
Snippets Groups Projects
Commit 50c879c2 authored by Daniel Agar's avatar Daniel Agar
Browse files

land_detector: rover return not landed if disarmed

parent 7b241828
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ void RoverLandDetector::_update_params()
bool RoverLandDetector::_get_ground_contact_state()
{
return false;
return true;
}
bool RoverLandDetector::_get_maybe_landed_state()
......@@ -71,6 +71,10 @@ bool RoverLandDetector::_get_maybe_landed_state()
bool RoverLandDetector::_get_landed_state()
{
if (!_arming.armed) {
return true;
}
return false;
}
......
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