diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-17 16:55:02 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-17 16:55:02 +0100 |
commit | 541e8362cff00ed411b7e3f85a1c347caf6ddec0 (patch) | |
tree | 2c921d65251245b0b23fbd704953093928103dd2 /ROMFS/px4fmu_common/init.d/3031_phantom | |
parent | 45cc0262ebbd95d10d7298eb0bf4e00b5bab3455 (diff) | |
parent | 4e6e40e5d850f737b25d657630ac89ad1d54e67c (diff) | |
download | px4-firmware-541e8362cff00ed411b7e3f85a1c347caf6ddec0.tar.gz px4-firmware-541e8362cff00ed411b7e3f85a1c347caf6ddec0.tar.bz2 px4-firmware-541e8362cff00ed411b7e3f85a1c347caf6ddec0.zip |
Merge branch 'adc_fix' into paul_estimator_mavlink2
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/3031_phantom')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/3031_phantom | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/ROMFS/px4fmu_common/init.d/3031_phantom b/ROMFS/px4fmu_common/init.d/3031_phantom index a3004d1e1..6cbd23643 100644 --- a/ROMFS/px4fmu_common/init.d/3031_phantom +++ b/ROMFS/px4fmu_common/init.d/3031_phantom @@ -2,9 +2,38 @@ # # Phantom FPV Flying Wing # -# Simon Wilks <sjwilks@gmail.com> +# Simon Wilks <sjwilks@gmail.com>, Thomas Gubler <thomasgubler@gmail.com> # sh /etc/init.d/rc.fw_defaults +if [ $DO_AUTOCONFIG == yes ] +then + param set FW_AIRSPD_MIN 13 + param set FW_AIRSPD_TRIM 18 + param set FW_AIRSPD_MAX 40 + param set FW_ATT_TC 0.3 + param set FW_L1_DAMPING 0.75 + param set FW_L1_PERIOD 15 + param set FW_PR_FF 0.2 + param set FW_PR_I 0.005 + param set FW_PR_IMAX 0.2 + param set FW_PR_P 0.03 + param set FW_P_LIM_MAX 50 + param set FW_P_LIM_MIN -50 + param set FW_P_RMAX_NEG 0 + param set FW_P_RMAX_POS 0 + param set FW_P_ROLLFF 0 + param set FW_RR_FF 0.5 + param set FW_RR_I 0.02 + param set FW_RR_IMAX 0.2 + param set FW_RR_P 0.08 + param set FW_R_LIM 70 + param set FW_R_RMAX 0 + param set FW_T_HRATE_P 0.01 + param set FW_T_RLL2THR 15 + param set FW_T_SRATE_P 0.01 + param set FW_T_TIME_CONST 5 +fi + set MIXER FMU_Q |