fix type of range_aid parameter: int -> int32_t

This commit is contained in:
ChristophTobler 2017-06-15 10:14:59 +02:00
parent 1fed209804
commit 6f5cffafec

View File

@ -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