mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 03:37:35 +08:00
mavlink_orb_subscription: reduce orb_exists() check from 10Hz to 3Hz
Checking with 3Hz for new topics should be fast enough.
This commit is contained in:
@@ -160,10 +160,9 @@ MavlinkOrbSubscription::is_published()
|
||||
return true;
|
||||
}
|
||||
|
||||
// Telemetry can sustain an initial published check at 10 Hz
|
||||
hrt_abstime now = hrt_absolute_time();
|
||||
|
||||
if (now - _last_pub_check < 100000) {
|
||||
if (now - _last_pub_check < 300000) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user