Browse Source

Copter: ekf_check ok if optflow pos available

master
Randy Mackay 10 years ago
parent
commit
4b5d07252e
  1. 2
      ArduCopter/ekf_check.pde

2
ArduCopter/ekf_check.pde

@ -90,7 +90,7 @@ static bool ekf_over_threshold() @@ -90,7 +90,7 @@ static bool ekf_over_threshold()
}
// return true immediately if position is bad
if (!position_ok()) {
if (!position_ok() && !optflow_position_ok()) {
return true;
}

Loading…
Cancel
Save