blob: c864e7c61860a3af8b27012bca7e5bb533620240 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!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
|