mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-13 13:07:34 +08:00
update terrain state un fuse function
This commit is contained in:
@@ -998,6 +998,7 @@ void Ekf::fuse(const Vector25f &K, float innovation)
|
||||
_state.mag_I -= K.slice<3, 1>(16, 0) * innovation;
|
||||
_state.mag_B -= K.slice<3, 1>(19, 0) * innovation;
|
||||
_state.wind_vel -= K.slice<2, 1>(22, 0) * innovation;
|
||||
_state.posd_terrain -= K(24) * innovation;
|
||||
}
|
||||
|
||||
void Ekf::uncorrelateQuatFromOtherStates()
|
||||
|
||||
Reference in New Issue
Block a user