mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-12 04:43:33 +08:00
Update src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp
Co-authored-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user