diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-21 18:12:02 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-21 18:12:02 +0100 |
commit | 69bc0c8e3998f87358bbf8a5f97f5c31dca43f76 (patch) | |
tree | 7127eb8187ca86919d96cb9e65cbded10e57ce1c /src | |
parent | 1c49d768fbf2b69bf2500a4dc48ac2a95c0d2ba1 (diff) | |
download | px4-firmware-69bc0c8e3998f87358bbf8a5f97f5c31dca43f76.tar.gz px4-firmware-69bc0c8e3998f87358bbf8a5f97f5c31dca43f76.tar.bz2 px4-firmware-69bc0c8e3998f87358bbf8a5f97f5c31dca43f76.zip |
Reduced param rate - as long as we do not have proper QoS (= reducing all rates at once if link becomes lossy) we need to open-loop match the link
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/mavlink/mavlink_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mavlink/mavlink_main.cpp b/src/modules/mavlink/mavlink_main.cpp index 9a8e1e5a7..18df577fe 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -1800,7 +1800,7 @@ Mavlink::task_main(int argc, char *argv[]) _mavlink_param_queue_index = param_count(); MavlinkRateLimiter slow_rate_limiter(2000000.0f / rate_mult); - MavlinkRateLimiter fast_rate_limiter(20000.0f / rate_mult); + MavlinkRateLimiter fast_rate_limiter(30000.0f / rate_mult); /* set main loop delay depending on data rate to minimize CPU overhead */ _main_loop_delay = MAIN_LOOP_DELAY / rate_mult; |