mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
30 lines
445 B
Bash
30 lines
445 B
Bash
#!/bin/sh
|
|
#
|
|
# 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
|
|
|
|
param set RTL_RETURN_ALT 30
|
|
param set RTL_DESCEND_ALT 10
|
|
|
|
param set PWM_MAX 1950
|
|
param set PWM_MIN 1075
|
|
param set PWM_RATE 400
|
|
|
|
param set GPS_UBX_DYNMODEL 6
|
|
fi
|
|
|
|
#
|
|
# This is the gimbal pass mixer.
|
|
#
|
|
set MIXER_AUX pass
|
|
|
|
set PWM_AUX_OUT 1234
|