From 3ceb932b7c6e450e788241dd396c4921392aab74 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Fri, 1 Dec 2023 11:53:29 +0100 Subject: [PATCH] mavlink streams: increase RC_CHANNELS rate for onboard low bandwidth There are MAVLink enabled gimbals that directly consume RC channel data. The gimbal controls stutter with this profile when the rate is too low. --- src/modules/mavlink/mavlink_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/mavlink/mavlink_main.cpp b/src/modules/mavlink/mavlink_main.cpp index e1f19e6bd6..9eca8d0722 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -1752,7 +1752,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream) configure_stream_local("PING", 0.1f); configure_stream_local("POSITION_TARGET_GLOBAL_INT", 1.5f); configure_stream_local("POSITION_TARGET_LOCAL_NED", 1.5f); - configure_stream_local("RC_CHANNELS", 5.0f); + configure_stream_local("RC_CHANNELS", 20.0f); configure_stream_local("SERVO_OUTPUT_RAW_0", 1.0f); configure_stream_local("SYS_STATUS", 5.0f); configure_stream_local("TIME_ESTIMATE_TO_TARGET", 1.0f);