From 4a1d16a06b46acef4213013615dbce5131a21bb3 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 26 Jun 2019 07:58:24 +0200 Subject: [PATCH] MAVLink module: Add additional IMUs as default outputs This simplifies setup and verification of systems, as all three sensors can be looked at in a graph view. --- src/modules/mavlink/mavlink_main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/mavlink/mavlink_main.cpp b/src/modules/mavlink/mavlink_main.cpp index bc5cc2af9f..4b5886218d 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -1704,7 +1704,6 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream) configure_stream_local("POSITION_TARGET_GLOBAL_INT", 10.0f); configure_stream_local("POSITION_TARGET_LOCAL_NED", 10.0f); configure_stream_local("RC_CHANNELS", 20.0f); - configure_stream_local("SCALED_IMU", 50.0f); configure_stream_local("SERVO_OUTPUT_RAW_0", 10.0f); configure_stream_local("SYS_STATUS", 5.0f); configure_stream_local("SYSTEM_TIME", 1.0f); @@ -1792,6 +1791,9 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream) configure_stream_local("PING", 1.0f); configure_stream_local("POSITION_TARGET_GLOBAL_INT", 10.0f); configure_stream_local("RC_CHANNELS", 10.0f); + configure_stream_local("SCALED_IMU", 25.0f); + configure_stream_local("SCALED_IMU2", 25.0f); + configure_stream_local("SCALED_IMU3", 25.0f); configure_stream_local("SERVO_OUTPUT_RAW_0", 20.0f); configure_stream_local("SERVO_OUTPUT_RAW_1", 20.0f); configure_stream_local("SYS_STATUS", 1.0f);