From 17dce18b32a1f0fc3aa144a34ab03078bde1e161 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 5 Nov 2020 18:39:40 +0100 Subject: [PATCH] mavlink: reduce GIMBAL_MANAGER_STATUS message rate This was way too fast. --- src/modules/mavlink/mavlink_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/mavlink/mavlink_main.cpp b/src/modules/mavlink/mavlink_main.cpp index e05f83bfdc..98b100b371 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -1593,7 +1593,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream) configure_stream_local("EXTENDED_SYS_STATE", 1.0f); configure_stream_local("GLOBAL_POSITION_INT", 5.0f); configure_stream_local("GIMBAL_DEVICE_ATTITUDE_STATUS", 1.0f); - configure_stream_local("GIMBAL_MANAGER_STATUS", 5.0f); + configure_stream_local("GIMBAL_MANAGER_STATUS", 0.5f); configure_stream_local("GIMBAL_DEVICE_SET_ATTITUDE", 5.0f); configure_stream_local("GPS2_RAW", 1.0f); configure_stream_local("GPS_RAW_INT", 1.0f); @@ -1651,7 +1651,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream) configure_stream_local("ESTIMATOR_STATUS", 1.0f); configure_stream_local("EXTENDED_SYS_STATE", 5.0f); configure_stream_local("GIMBAL_DEVICE_ATTITUDE_STATUS", 1.0f); - configure_stream_local("GIMBAL_MANAGER_STATUS", 5.0f); + configure_stream_local("GIMBAL_MANAGER_STATUS", 0.5f); configure_stream_local("GIMBAL_DEVICE_SET_ATTITUDE", 5.0f); configure_stream_local("GLOBAL_POSITION_INT", 50.0f); configure_stream_local("GPS2_RAW", unlimited_rate);