Copter: ekf_check ok if optflow pos available
This commit is contained in:
parent
52f7186cbf
commit
4b5d07252e
@ -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…
Reference in New Issue
Block a user