forked from Archive/PX4-Autopilot
airspeed selector: disable beta fusion when not in fixed-wing mode
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
59564af860
commit
6d255df0a8
|
@ -463,7 +463,7 @@ void AirspeedModule::update_wind_estimator_sideslip()
|
|||
/* update wind and airspeed estimator */
|
||||
_wind_estimator_sideslip.update(_time_now_usec);
|
||||
|
||||
if (_vehicle_local_position_valid && att_valid) {
|
||||
if (_vehicle_local_position_valid && att_valid && !_vtol_vehicle_status.vtol_in_rw_mode) {
|
||||
Vector3f vI(_vehicle_local_position.vx, _vehicle_local_position.vy, _vehicle_local_position.vz);
|
||||
Quatf q(_vehicle_attitude.q);
|
||||
|
||||
|
|
Loading…
Reference in New Issue