mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 15:03:33 +08:00
ekf2 wind: use noise spectral density for process noise tuning
The noise spectral density, NSD, (square root of power spectral density) is a continuous-time parameter that makes the tuning independent from the EKF prediction rate. NSD corresponds to the rate at which the state uncertainty increases when no measurements are fused into the filter. Given that the current prediction rate of EKF2 is 100Hz, the same tuning is obtained by dividing the std_dev legacy parameter by 10: nsd = sqrt(std_dev^2 / 100Hz)
This commit is contained in:
@@ -377,8 +377,8 @@ private:
|
||||
_param_ekf2_mag_e_noise, ///< process noise for earth magnetic field prediction (Gauss/sec)
|
||||
(ParamExtFloat<px4::params::EKF2_MAG_B_NOISE>)
|
||||
_param_ekf2_mag_b_noise, ///< process noise for body magnetic field prediction (Gauss/sec)
|
||||
(ParamExtFloat<px4::params::EKF2_WIND_NOISE>)
|
||||
_param_ekf2_wind_noise, ///< process noise for wind velocity prediction (m/sec**2)
|
||||
(ParamExtFloat<px4::params::EKF2_WIND_NSD>)
|
||||
_param_ekf2_wind_nsd, ///< process noise spectral density for wind velocity prediction (m/sec**2/sqrt(Hz))
|
||||
(ParamExtFloat<px4::params::EKF2_TERR_NOISE>) _param_ekf2_terr_noise, ///< process noise for terrain offset (m/sec)
|
||||
(ParamExtFloat<px4::params::EKF2_TERR_GRAD>)
|
||||
_param_ekf2_terr_grad, ///< gradient of terrain used to estimate process noise due to changing position (m/m)
|
||||
|
||||
Reference in New Issue
Block a user