mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-14 03:50:35 +08:00
19 lines
339 B
Plaintext
19 lines
339 B
Plaintext
#!nsh
|
|
#
|
|
# Script to configure fixedwing control interface
|
|
#
|
|
|
|
#
|
|
# Force some key parameters to sane values
|
|
# MAV_TYPE 1 = fixed wing
|
|
#
|
|
param set MAV_TYPE 1
|
|
|
|
#
|
|
# Load mixer
|
|
#
|
|
echo "[init] Frame geometry: $FRAME_GEOMETRY"
|
|
set MIXER /etc/mixers/FMU_$FRAME_GEOMETRY.mix
|
|
echo "[init] Loading mixer: $MIXER"
|
|
mixer load /dev/pwm_output $MIXER
|