forked from Archive/PX4-Autopilot
40 lines
863 B
Plaintext
40 lines
863 B
Plaintext
#!nsh
|
|
|
|
echo "[init] PX4FMU v1, v2 with or without IO on 3DR SkyWalker"
|
|
|
|
#
|
|
# Load default params for this platform
|
|
#
|
|
if [ $DO_AUTOCONFIG == yes ]
|
|
then
|
|
# Set all params here, then disable autoconfig
|
|
param set FW_P_D 0
|
|
param set FW_P_I 0
|
|
param set FW_P_IMAX 15
|
|
param set FW_P_LIM_MAX 50
|
|
param set FW_P_LIM_MIN -50
|
|
param set FW_P_P 60
|
|
param set FW_P_RMAX_NEG 0
|
|
param set FW_P_RMAX_POS 0
|
|
param set FW_P_ROLLFF 1.1
|
|
param set FW_R_D 0
|
|
param set FW_R_I 5
|
|
param set FW_R_IMAX 20
|
|
param set FW_R_P 100
|
|
param set FW_R_RMAX 100
|
|
param set FW_THR_CRUISE 0.65
|
|
param set FW_THR_MAX 1
|
|
param set FW_THR_MIN 0
|
|
param set FW_T_SINK_MAX 5.0
|
|
param set FW_T_SINK_MIN 4.0
|
|
param set FW_Y_ROLLFF 1.1
|
|
param set FW_L1_PERIOD 16
|
|
param set RC_SCALE_ROLL 1.0
|
|
param set RC_SCALE_PITCH 1.0
|
|
|
|
param set SYS_AUTOCONFIG 0
|
|
param save
|
|
fi
|
|
|
|
set VEHICLE_TYPE fw
|
|
set MIXER FMU_AERT |