From 7fd22f63a9143b01c2bcc200867074cdb908f950 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sat, 31 Aug 2019 12:54:27 +0100 Subject: [PATCH] ArduCopter: allow logging of both IMU and IMU_RAW allow logging of both IMU and IMU_RAW at the same time so that filtering and errors can be seen --- ArduCopter/Copter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ArduCopter/Copter.cpp b/ArduCopter/Copter.cpp index 07e371c62a..0497927698 100644 --- a/ArduCopter/Copter.cpp +++ b/ArduCopter/Copter.cpp @@ -389,8 +389,7 @@ void Copter::twentyfive_hz_logging() Log_Write_EKF_POS(); } - // log IMU data if we're not already logging at the higher rate - if (should_log(MASK_LOG_IMU) && !should_log(MASK_LOG_IMU_RAW)) { + if (should_log(MASK_LOG_IMU)) { logger.Write_IMU(); } #endif