mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 16:11:37 +08:00
18 lines
473 B
Bash
18 lines
473 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
|
|
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
|