mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
Format and comment fw, mc, vtol, and ugv vehicle apps and default startup scripts.
This commit is contained in:
@@ -1,20 +1,26 @@
|
||||
#!nsh
|
||||
#
|
||||
# Multicopter default parameters.
|
||||
#
|
||||
# NOTE: Script variables are declared/initialized/unset in the rcS script.
|
||||
#
|
||||
|
||||
set VEHICLE_TYPE mc
|
||||
|
||||
if [ $AUTOCNF == yes ]
|
||||
then
|
||||
param set NAV_ACC_RAD 2.0
|
||||
|
||||
param set RTL_RETURN_ALT 30.0
|
||||
param set RTL_DESCEND_ALT 10.0
|
||||
param set PWM_MIN 1075
|
||||
param set PWM_MAX 1950
|
||||
param set PWM_RATE 400
|
||||
|
||||
param set RTL_LAND_DELAY 0
|
||||
|
||||
param set PWM_MAX 1950
|
||||
param set PWM_MIN 1075
|
||||
param set PWM_RATE 400
|
||||
fi
|
||||
|
||||
# This is the gimbal pass mixer
|
||||
# This is the gimbal pass mixer.
|
||||
set MIXER_AUX pass
|
||||
set PWM_AUX_RATE 50
|
||||
set PWM_AUX_OUT 1234
|
||||
|
||||
Reference in New Issue
Block a user