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:18:13 -08:00
committed by GitHub
co-authored by Silvan Fuhrer
parent c8cc5ac9a0
commit a2f5a8eb5d
@@ -162,7 +162,7 @@ void FixedwingWindEstimator::Run()
perf_begin(_loop_perf);
// only run controller if angular velocity changed
if (_vehicle_angular_velocity_sub.updated() || (hrt_elapsed_time(&_last_run) > 20_ms)) { //TODO rate!
if (_vehicle_angular_velocity_sub.updated() || (hrt_elapsed_time(&_last_run) > 20_ms)) {
// only update parameters if they changed
bool params_updated = _parameter_update_sub.updated();