mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +08:00
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%.
This commit is contained in:
@@ -559,7 +559,7 @@ then
|
|||||||
then
|
then
|
||||||
set MAVLINK_F "-r 1200 -d /dev/ttyS1"
|
set MAVLINK_F "-r 1200 -d /dev/ttyS1"
|
||||||
# Start MAVLink on Wifi (ESP8266 port)
|
# 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
|
fi
|
||||||
|
|
||||||
if ver hwcmp AEROFC_V1
|
if ver hwcmp AEROFC_V1
|
||||||
|
|||||||
Reference in New Issue
Block a user