From 8e69b66cf01734a60262788ff65240a20ee072d5 Mon Sep 17 00:00:00 2001 From: Grant Morphett Date: Tue, 5 Apr 2016 09:59:09 +1000 Subject: [PATCH] Rover: added the VIBE logging to the Dataflash logs. --- APMrover2/APMrover2.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/APMrover2/APMrover2.cpp b/APMrover2/APMrover2.cpp index c0cc3068cb..1dd67841d2 100644 --- a/APMrover2/APMrover2.cpp +++ b/APMrover2/APMrover2.cpp @@ -270,6 +270,10 @@ void Rover::update_logging2(void) if (should_log(MASK_LOG_RC)) Log_Write_RC(); + + if (should_log(MASK_LOG_IMU)) { + DataFlash.Log_Write_Vibration(ins); + } }