diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-22 23:16:45 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-28 13:07:01 -0700 |
commit | 78741c87e5415c9e894f619e28b145e127576a56 (patch) | |
tree | 424876901d5b92ab661fc5ab67791e78ea414806 /src/modules/mavlink/mavlink_main.cpp | |
parent | 4c6ddf93724e51d8af914671bfd1090f42ce09a6 (diff) | |
download | px4-firmware-78741c87e5415c9e894f619e28b145e127576a56.tar.gz px4-firmware-78741c87e5415c9e894f619e28b145e127576a56.tar.bz2 px4-firmware-78741c87e5415c9e894f619e28b145e127576a56.zip |
MAVLink app: 1) only transmit active params, 2) send params faster, 3) ensure no overflow occurs on buffer when sending at higher rate.
Diffstat (limited to 'src/modules/mavlink/mavlink_main.cpp')
-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 f8e819ce7..632c8c709 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -1361,7 +1361,7 @@ Mavlink::task_main(int argc, char *argv[]) /* PARAM_VALUE stream */ _parameters_manager = (MavlinkParametersManager *) MavlinkParametersManager::new_instance(this); - _parameters_manager->set_interval(interval_from_rate(30.0f)); + _parameters_manager->set_interval(interval_from_rate(80.0f)); LL_APPEND(_streams, _parameters_manager); /* MISSION_STREAM stream, actually sends all MISSION_XXX messages at some rate depending on |