From 68e76d8ed3a1974aa3365d0eb4b2314e9cc09067 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 7 May 2017 18:01:51 +0200 Subject: [PATCH] FMUv5: Increase logging throughput considerably. This will help to understand the sensor selection on FMUv5 in different airframes. We do have the RAM and CPU to do this on this platform. --- ROMFS/px4fmu_common/init.d/rcS | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 14048b1461..1e31b0e9c7 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -862,6 +862,14 @@ then fi else set LOGGER_ARGS "" + # + # Adjust FMUv5 logging settings + # + if ver hwcmp PX4FMU_V5 + then + set LOGGER_BUF 64 + set SDLOG_MODE 3 + fi if param compare SDLOG_MODE 1 then set LOGGER_ARGS "-e"