diff --git a/src/modules/position_estimator_inav/position_estimator_inav_main.cpp b/src/modules/position_estimator_inav/position_estimator_inav_main.cpp index 40394a5bd4..0bfc75661a 100644 --- a/src/modules/position_estimator_inav/position_estimator_inav_main.cpp +++ b/src/modules/position_estimator_inav/position_estimator_inav_main.cpp @@ -1375,8 +1375,10 @@ int position_estimator_inav_thread_main(int argc, char *argv[]) // TODO provide calculated values for these local_pos.evh = 0.0f; local_pos.evv = 0.0f; - local_pos.vxy_max = 0.0f; - local_pos.limit_hagl = false; + local_pos.vxy_max = INFINITY; + local_pos.vz_max = INFINITY; + local_pos.hagl_min = INFINITY; + local_pos.hagl_max = INFINITY; // this estimator does not provide a separate vertical position time derivative estimate, so use the vertical velocity local_pos.z_deriv = z_est[1];