From 553c8b38d2de29709aeccfbdd8a2708ec435d5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Wed, 11 Oct 2017 08:46:29 +0200 Subject: [PATCH] rcS: start mavlink in normal mode on Pixracer for the WiFi module The config mode uses high rates for many streams, leading to high CPU usage (9-10% for the mavlink sender). The normal mode contains almost the same set of messages but at lower rates. This reduces the CPU load on a Pixracer by 3-4%. --- ROMFS/px4fmu_common/init.d/rcS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 987dd69141..ca97d87a3b 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -559,7 +559,7 @@ then then set MAVLINK_F "-r 1200 -d /dev/ttyS1" # Start MAVLink on Wifi (ESP8266 port) - mavlink start -r 20000 -m config -b 921600 -d /dev/ttyS0 + mavlink start -r 20000 -b 921600 -d /dev/ttyS0 fi if ver hwcmp AEROFC_V1