forked from Archive/PX4-Autopilot
adopted common.h
This commit is contained in:
parent
0fb1e0578b
commit
92abf93c8f
10
EKF/common.h
10
EKF/common.h
|
@ -112,7 +112,7 @@ struct rangeSample {
|
|||
};
|
||||
|
||||
struct airspeedSample {
|
||||
float airspeed; // airspeed measurement in m/s
|
||||
float airspeed; // true airspeed measurement in m/s
|
||||
uint64_t time_us; // timestamp in microseconds
|
||||
};
|
||||
|
||||
|
@ -195,6 +195,10 @@ struct parameters {
|
|||
int mag_declination_source; // bitmask used to control the handling of declination data
|
||||
int mag_fusion_type; // integer used to specify the type of magnetometer fusion used
|
||||
|
||||
// airspeed fusion
|
||||
float tas_innov_gate; // True Airspeed Innovation consistency gate size in standard deciation [WHAT SHALL THIS VALUE BE?]
|
||||
float eas_noise; // EAS measurement noise standard deviation used for airspeed fusion [m/s]
|
||||
|
||||
// range finder fusion
|
||||
float range_noise; // observation noise for range finder measurements (m)
|
||||
float range_innov_gate; // range finder fusion innovation consistency gate size (STD)
|
||||
|
@ -265,6 +269,10 @@ struct parameters {
|
|||
mag_declination_source = 3;
|
||||
mag_fusion_type = 0;
|
||||
|
||||
// airspeed fusion
|
||||
float tas_innov_gate = 3.0f; // [CHECK THIS VALUE]
|
||||
float eas_noise = 1.4f;
|
||||
|
||||
// range finder fusion
|
||||
range_noise = 0.1f;
|
||||
range_innov_gate = 5.0f;
|
||||
|
|
Loading…
Reference in New Issue