mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 03:04:07 +08:00
EKF: remove dead code
This commit is contained in:
parent
6358bbd257
commit
b536382ae1
@ -397,8 +397,6 @@ void Ekf::fuseOptFlow()
|
||||
// run innovation consistency check
|
||||
optflow_test_ratio[1] = sq(_flow_innov[1]) / (sq(math::max(_params.flow_innov_gate, 1.0f)) * _flow_innov_var[1]);
|
||||
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user