|
|
|
@ -463,7 +463,7 @@ void AirspeedModule::update_wind_estimator_sideslip()
@@ -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); |
|
|
|
|
|
|
|
|
|