Init scripts cleanup, WIP

This commit is contained in:
Anton Babushkin
2014-01-10 13:18:34 +01:00
parent 891cb3f8c2
commit b5d56523bc
28 changed files with 422 additions and 1172 deletions
@@ -0,0 +1,18 @@
#!nsh
#
# Script to load fixedwing mixer and set rate/disarmed/min/max values for PWM output
#
#
# Force some key parameters to sane values
# MAV_TYPE 1 = fixed wing
#
param set MAV_TYPE 1
#
# Load mixer
#
echo "Frame geometry: ${FRAME_GEOMETRY}"
set MIXER /etc/mixers/FMU_${FRAME_GEOMETRY}.mix
echo "Loading mixer: ${MIXER}"
mixer load /dev/pwm_output ${MIXER}