diff options
author | Julian Oes <julian@oes.ch> | 2014-02-08 00:32:57 +0100 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-02-08 00:32:57 +0100 |
commit | 0a87f1d01ce089e6f6ddba42be6847d5783cbfaf (patch) | |
tree | 452b957d805be603683432cde7ff8677f8b5fc26 /ROMFS/px4fmu_common/init.d/3032_skywalker_x5 | |
parent | de8a9268f3c476c2695df84f0e1a429ea10ddeb3 (diff) | |
download | px4-firmware-0a87f1d01ce089e6f6ddba42be6847d5783cbfaf.tar.gz px4-firmware-0a87f1d01ce089e6f6ddba42be6847d5783cbfaf.tar.bz2 px4-firmware-0a87f1d01ce089e6f6ddba42be6847d5783cbfaf.zip |
Startup scripts: move X5 attitude parameters back to X5 script and only leave airframe independent params in FW defaults script
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/3032_skywalker_x5')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/3032_skywalker_x5 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/3032_skywalker_x5 b/ROMFS/px4fmu_common/init.d/3032_skywalker_x5 index 1657e6d36..3f5f79857 100644 --- a/ROMFS/px4fmu_common/init.d/3032_skywalker_x5 +++ b/ROMFS/px4fmu_common/init.d/3032_skywalker_x5 @@ -7,4 +7,33 @@ sh /etc/init.d/rc.fw_defaults +if [ $DO_AUTOCONFIG == yes ] +then + param set FW_AIRSPD_MIN 15 + param set FW_AIRSPD_TRIM 20 + param set FW_AIRSPD_MAX 40 + param set FW_ATT_TC 0.3 + param set FW_L1_DAMPING 0.74 + param set FW_L1_PERIOD 15 + param set FW_PR_FF 0.8 + param set FW_PR_I 0 + param set FW_PR_IMAX 0.2 + param set FW_PR_P 0.05 + param set FW_P_LIM_MAX 45 + param set FW_P_LIM_MIN -45 + 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.6 + param set FW_RR_I 0 + param set FW_RR_IMAX 0.2 + param set FW_RR_P 0.05 + param set FW_R_LIM 60 + 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_X5 |