From 7ba658d5730c99e76007f4f30ff77f6c1b9987dc 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 383cebdff1..67945c87b8 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -1667,7 +1667,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); @@ -1755,6 +1754,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);