This enables the EKF to use an additional NE velocity measurement. This can be used to improve position hold stability when landing using a beacon system for positioning by fusing the beacon velocity estimates.
uint64_ttime_us;///< timestamp of the measurement (uSec)
uint64_ttime_us;///< timestamp of the measurement (uSec)
};
};
structauxVelSample{
Vector2fvelNE;///< measured NE velocity relative to the local origin (m/sec)
Vector2fvelVarNE;///< estimated error variance of the NE velocity (m/sec)**2
uint64_ttime_us;///< timestamp of the measurement (uSec)
};
// Integer definitions for vdist_sensor_type
// Integer definitions for vdist_sensor_type
#define VDIST_SENSOR_BARO 0 ///< Use baro height
#define VDIST_SENSOR_BARO 0 ///< Use baro height
#define VDIST_SENSOR_GPS 1 ///< Use GPS height
#define VDIST_SENSOR_GPS 1 ///< Use GPS height
@ -210,6 +216,7 @@ struct parameters {
floatflow_delay_ms{5.0f};///< optical flow measurement delay relative to the IMU (mSec) - this is to the middle of the optical flow integration interval
floatflow_delay_ms{5.0f};///< optical flow measurement delay relative to the IMU (mSec) - this is to the middle of the optical flow integration interval
floatrange_delay_ms{5.0f};///< range finder measurement delay relative to the IMU (mSec)
floatrange_delay_ms{5.0f};///< range finder measurement delay relative to the IMU (mSec)
floatev_delay_ms{100.0f};///< off-board vision measurement delay relative to the IMU (mSec)
floatev_delay_ms{100.0f};///< off-board vision measurement delay relative to the IMU (mSec)
floatauxvel_delay_ms{0.0f};///< auxiliary velocity measurement delay relative to the IMU (mSec)
// input noise
// input noise
floatgyro_noise{1.5e-2f};///< IMU angular rate noise used for covariance prediction (rad/sec)
floatgyro_noise{1.5e-2f};///< IMU angular rate noise used for covariance prediction (rad/sec)
@ -326,6 +333,9 @@ struct parameters {
floatvert_innov_test_lim{4.5f};///< Number of standard deviations allowed before the combined vertical velocity and position test is declared as failed
floatvert_innov_test_lim{4.5f};///< Number of standard deviations allowed before the combined vertical velocity and position test is declared as failed
intbad_acc_reset_delay_us{500000};///< Continuous time that the vertical position and velocity innovation test must fail before the states are reset (uSec)
intbad_acc_reset_delay_us{500000};///< Continuous time that the vertical position and velocity innovation test must fail before the states are reset (uSec)
// auxilliary velocity fusion
floatauxvel_noise{0.5f};///< minimum observation noise, uses reported noise if greater (m/s)