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:
Beat Küng
2017-10-16 14:59:49 +02:00
committed by Lorenz Meier
parent 7381ea8222
commit d930ad4e9e
@@ -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;
}