-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #742 from thomasgubler/phantom
set phantom autoconfig parameters as provided by Andreas Antener
- Loading branch information
Showing
1 changed file
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,38 @@ | |
# | ||
# Phantom FPV Flying Wing | ||
# | ||
# Simon Wilks <[email protected]> | ||
# Simon Wilks <[email protected]>, Thomas Gubler <[email protected]> | ||
# | ||
|
||
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 |