Files
PX4-Autopilot/ROMFS/px4fmu_common/init.d/rc.fw_interface
T

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