From 6f5cffafece60a44a941124c2143d41a2d4f7fae Mon Sep 17 00:00:00 2001 From: ChristophTobler Date: Thu, 15 Jun 2017 10:14:59 +0200 Subject: [PATCH] fix type of range_aid parameter: int -> int32_t --- EKF/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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