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,11 +1,16 @@
|
||||
#!nsh
|
||||
#
|
||||
# Fixed wing default parameters
|
||||
#
|
||||
# NOTE: Script variables are declared/initialized/unset in the rcS script.
|
||||
#
|
||||
|
||||
set VEHICLE_TYPE fw
|
||||
|
||||
if [ $AUTOCNF == yes ]
|
||||
then
|
||||
#
|
||||
# Default parameters for FW
|
||||
# Default parameters for fixed wing uavs.
|
||||
#
|
||||
param set COM_POS_FS_DELAY 5
|
||||
param set COM_POS_FS_EPH 25
|
||||
@@ -23,8 +28,8 @@ then
|
||||
param set RTL_DESCEND_ALT 100
|
||||
param set RTL_LAND_DELAY -1
|
||||
|
||||
# FW uses L1 distance for acceptance radius
|
||||
# set a smaller NAV_ACC_RAD for vertical acceptance distance
|
||||
# FW uses L1 distance for acceptance radius,
|
||||
# set a smaller NAV_ACC_RAD for vertical acceptance distance.
|
||||
param set NAV_ACC_RAD 10
|
||||
|
||||
param set MIS_LTRMIN_ALT 25
|
||||
@@ -32,11 +37,11 @@ then
|
||||
|
||||
param set PWM_RATE 50
|
||||
|
||||
# FW takeoff acceleration can easily exceed ublox GPS 2G default
|
||||
# FW takeoff acceleration can easily exceed ublox GPS 2G default.
|
||||
param set GPS_UBX_DYNMODEL 8
|
||||
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