mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:38:52 +08:00
19 lines
476 B
Bash
19 lines
476 B
Bash
#!/bin/sh
|
|
#
|
|
# PX4 FMUv4 specific board extras init
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
# Pixracer: start MAVLink on Wifi (ESP8266 port). Except for the TealOne airframe.
|
|
if param compare SYS_AUTOSTART 4250
|
|
then
|
|
else
|
|
mavlink start -r 20000 -b 921600 -d /dev/ttyS0
|
|
fi
|
|
|
|
# Run FrSky Telemetry on Pixracer on the FrSky port if not enabled already
|
|
if param compare TEL_FRSKY_CONFIG 0
|
|
then
|
|
frsky_telemetry start -d /dev/ttyS6 -t 15
|
|
fi
|