update comment

This commit is contained in:
Jacob Dahl 2025-09-22 18:22:14 -08:00
parent 613a784ce2
commit 2dd864a87a

View File

@ -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));
}