mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 17:09:06 +08:00
EKF: Fix bug in declination fusion indexing
This commit is contained in:
parent
2108466a00
commit
1414d591ce
@ -852,7 +852,7 @@ void Ekf::fuseDeclination()
|
||||
float KH[_k_num_states][_k_num_states] = {};
|
||||
|
||||
for (unsigned row = 0; row < _k_num_states; row++) {
|
||||
for (unsigned column = 16; column < 17; column++) {
|
||||
for (unsigned column = 16; column <= 17; column++) {
|
||||
KH[row][column] = Kfusion[row] * H_DECL[column];
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user