diff --git a/ROMFS/px4fmu_common/init.d-posix/airframes/1020_uuv_generic b/ROMFS/px4fmu_common/init.d-posix/airframes/1020_uuv_generic index e81bb5fd14..2bbee570f6 100644 --- a/ROMFS/px4fmu_common/init.d-posix/airframes/1020_uuv_generic +++ b/ROMFS/px4fmu_common/init.d-posix/airframes/1020_uuv_generic @@ -5,8 +5,6 @@ . ${R}etc/init.d/rc.uuv_defaults -#Set data link loss failsafe mode (0: disabled) - # disable circuit breaker for airspeed sensor param set-default CBRK_AIRSPD_CHK 162128 diff --git a/ROMFS/px4fmu_common/init.d-posix/airframes/1021_uuv_hippocampus b/ROMFS/px4fmu_common/init.d-posix/airframes/1021_uuv_hippocampus index 3229379c3a..0ed6c2ed6a 100644 --- a/ROMFS/px4fmu_common/init.d-posix/airframes/1021_uuv_hippocampus +++ b/ROMFS/px4fmu_common/init.d-posix/airframes/1021_uuv_hippocampus @@ -5,8 +5,6 @@ . ${R}etc/init.d/rc.uuv_defaults -#Set data link loss failsafe mode (0: disabled) - # disable circuit breaker for airspeed sensor param set-default CBRK_AIRSPD_CHK 162128 diff --git a/ROMFS/px4fmu_common/init.d-posix/airframes/1022_uuv_bluerov2_heavy b/ROMFS/px4fmu_common/init.d-posix/airframes/1022_uuv_bluerov2_heavy index 4c52965750..c8a8c6c16d 100644 --- a/ROMFS/px4fmu_common/init.d-posix/airframes/1022_uuv_bluerov2_heavy +++ b/ROMFS/px4fmu_common/init.d-posix/airframes/1022_uuv_bluerov2_heavy @@ -5,8 +5,6 @@ . ${R}etc/init.d/rc.uuv_defaults -#Set data link loss failsafe mode (0: disabled) - # disable circuit breaker for airspeed sensor param set-default CBRK_AIRSPD_CHK 162128 diff --git a/ROMFS/px4fmu_common/init.d/airframes/60000_uuv_generic b/ROMFS/px4fmu_common/init.d/airframes/60000_uuv_generic index 45453ab781..3c350469bc 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/60000_uuv_generic +++ b/ROMFS/px4fmu_common/init.d/airframes/60000_uuv_generic @@ -13,9 +13,6 @@ . ${R}etc/init.d/rc.uuv_defaults - -#Set data link loss failsafe mode (0: disabled) - # disable circuit breaker for airspeed sensor param set-default CBRK_AIRSPD_CHK 162128 diff --git a/ROMFS/px4fmu_common/init.d/airframes/60001_uuv_hippocampus b/ROMFS/px4fmu_common/init.d/airframes/60001_uuv_hippocampus index 9a025bdaca..d4fd066e67 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/60001_uuv_hippocampus +++ b/ROMFS/px4fmu_common/init.d/airframes/60001_uuv_hippocampus @@ -13,9 +13,6 @@ . ${R}etc/init.d/rc.uuv_defaults - -#Set data link loss failsafe mode (0: disabled) - # disable circuit breaker for airspeed sensor param set-default CBRK_AIRSPD_CHK 162128 diff --git a/ROMFS/px4fmu_common/init.d/airframes/60002_uuv_bluerov2_heavy b/ROMFS/px4fmu_common/init.d/airframes/60002_uuv_bluerov2_heavy index 341cd4aaa1..44b876564d 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/60002_uuv_bluerov2_heavy +++ b/ROMFS/px4fmu_common/init.d/airframes/60002_uuv_bluerov2_heavy @@ -22,7 +22,6 @@ . ${R}etc/init.d/rc.uuv_defaults -#Set data link loss failsafe mode (0: disabled) # disable circuit breaker for airspeed sensor param set-default CBRK_AIRSPD_CHK 162128 diff --git a/src/lib/wind_estimator/WindEstimator.cpp b/src/lib/wind_estimator/WindEstimator.cpp index 9ddf45dfea..2f3b2fb1f1 100644 --- a/src/lib/wind_estimator/WindEstimator.cpp +++ b/src/lib/wind_estimator/WindEstimator.cpp @@ -195,7 +195,7 @@ WindEstimator::fuse_airspeed(uint64_t time_now, const float true_airspeed, const reinit_filter); if (meas_is_rejected || _tas_innov_var < 0.f) { - // only reset filter if _tas_innov_var gets unfeasible, but not never if tas measurement is rejected + // only reset filter if _tas_innov_var gets unfeasible if (_tas_innov_var < 0.0f) { _initialised = initialise(velI, matrix::Vector2f(0.1f, 0.1f), true_airspeed); }