mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 07:41:36 +08:00
range aid: added hysteresis for switching in and out of range aid
- prevents rapid switching - added innovation consistency check for using range aid Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
@@ -260,6 +260,7 @@ struct parameters {
|
||||
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
|
||||
float range_aid_innov_gate{1.0f}; // gate size used for innovation consistency checks for range aid fusion
|
||||
|
||||
// vision position fusion
|
||||
float ev_innov_gate{5.0f}; // vision estimator fusion innovation consistency gate size (STD)
|
||||
|
||||
Reference in New Issue
Block a user