Update src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp

Co-authored-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Jaeyoung Lim
2025-12-10 03:17:56 -08:00
committed by GitHub
co-authored by Silvan Fuhrer
parent 416f5bc086
commit c8cc5ac9a0
@@ -225,7 +225,7 @@ void FixedwingWindEstimator::Run()
}
/* if we are in rotary wing mode, do nothing */
if (_vehicle_status.vehicle_type == vehicle_status_s::VEHICLE_TYPE_ROTARY_WING && !_vehicle_status.is_vtol) {
if (_vehicle_status.vehicle_type != vehicle_status_s::VEHICLE_TYPE_FIXED_WING) {
perf_end(_loop_perf);
return;
}