diff --git a/EKF/common.h b/EKF/common.h index 9c467f4030..40332488ec 100644 --- a/EKF/common.h +++ b/EKF/common.h @@ -259,7 +259,7 @@ struct parameters { float vehicle_variance_scaler{0.0f}; // gain applied to vehicle height variance used in calculation of height above ground observation variance float max_hagl_for_range_aid{5.0f}; // maximum height above ground for which we allow to use the range finder as height source (if range_aid == 1) float max_vel_for_range_aid{1.0f}; // maximum ground velocity for which we allow to use the range finder as height source (if range_aid == 1) - int range_aid{0}; // allow switching primary height source to range finder if certian conditions are met + int32_t range_aid{0}; // allow switching primary height source to range finder if certian conditions are met float range_aid_innov_gate{1.0f}; // gate size used for innovation consistency checks for range aid fusion // vision position fusion