mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-12 23:17:35 +08:00
increased airspeed fusion rate to 12.5Hz
This commit is contained in:
@@ -206,7 +206,7 @@ void EstimatorInterface::setAirspeedData(uint64_t time_usec, float *data)
|
||||
return;
|
||||
}
|
||||
|
||||
if (time_usec - _time_last_airspeed > 1000000) { //Limit the airspeed update rate to 1 Hz for now
|
||||
if (time_usec - _time_last_airspeed > 80000) {
|
||||
airspeedSample airspeed_sample_new;
|
||||
airspeed_sample_new.airspeed = *data;
|
||||
airspeed_sample_new.time_us = time_usec - _params.airspeed_delay_ms * 1000;
|
||||
|
||||
Reference in New Issue
Block a user