mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
update comment
This commit is contained in:
parent
613a784ce2
commit
2dd864a87a
@ -45,8 +45,7 @@ void Ekf::initTerrain()
|
||||
// assume a ground clearance
|
||||
_state.terrain = -_gpos.altitude() + _params.ekf2_min_rng;
|
||||
|
||||
// use the ground clearance value as our uncertainty
|
||||
// TODO: JAKE: ^ doesn't make any sense
|
||||
// use the sensor noise value as our uncertainty
|
||||
P.uncorrelateCovarianceSetVariance<State::terrain.dof>(State::terrain.idx, sq(_params.ekf2_rng_noise));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user