mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 07:13:35 +08:00
EKF: Improvements to covariance reset
This commit is contained in:
@@ -438,7 +438,7 @@ void Ekf::fuseOptFlow()
|
||||
// first calculate expression for KHP
|
||||
// then calculate P - KHP
|
||||
for (unsigned row = 0; row < _k_num_states; row++) {
|
||||
for (unsigned column = 0; column <= 5; column++) {
|
||||
for (unsigned column = 0; column <= 6; column++) {
|
||||
KH[row][column] = gain[row] * H_LOS[obs_index][column];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user