diff options
author | Julian Oes <julian@oes.ch> | 2014-02-07 23:13:12 +0100 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-02-07 23:13:12 +0100 |
commit | df41c04be74c6d4d576c188f2327226c264d371c (patch) | |
tree | 455fad1fd98b93619fb39df02386b4c74f83c870 /ROMFS/px4fmu_common/init.d/3032_skywalker_x5 | |
parent | fff00318cdeac8b52affb2210dd0975c65826333 (diff) | |
download | px4-firmware-df41c04be74c6d4d576c188f2327226c264d371c.tar.gz px4-firmware-df41c04be74c6d4d576c188f2327226c264d371c.tar.bz2 px4-firmware-df41c04be74c6d4d576c188f2327226c264d371c.zip |
Startup scripts: use rc.fw_defaults for default FW parameters
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/3032_skywalker_x5')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/3032_skywalker_x5 | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/ROMFS/px4fmu_common/init.d/3032_skywalker_x5 b/ROMFS/px4fmu_common/init.d/3032_skywalker_x5 index c1e78b6f1..1657e6d36 100644 --- a/ROMFS/px4fmu_common/init.d/3032_skywalker_x5 +++ b/ROMFS/px4fmu_common/init.d/3032_skywalker_x5 @@ -5,39 +5,6 @@ # Thomas Gubler <thomasgubler@gmail.com>, Julian Oes <joes@student.ethz.ch> # -if [ $DO_AUTOCONFIG == yes ] -then - # - # Default parameters for this platform - # - param set FW_AIRSPD_MIN 7 - param set FW_AIRSPD_TRIM 9 - param set FW_AIRSPD_MAX 14 - param set FW_L1_PERIOD 10 - param set FW_P_D 0 - param set FW_P_I 0 - param set FW_P_IMAX 20 - param set FW_P_LIM_MAX 30 - param set FW_P_LIM_MIN -20 - param set FW_P_P 30 - param set FW_P_RMAX_NEG 0 - param set FW_P_RMAX_POS 0 - param set FW_P_ROLLFF 2 - param set FW_R_D 0 - param set FW_R_I 5 - param set FW_R_IMAX 20 - param set FW_R_P 60 - param set FW_R_RMAX 60 - param set FW_THR_CRUISE 0.65 - param set FW_THR_MAX 0.7 - param set FW_THR_MIN 0 - param set FW_T_SINK_MAX 5 - param set FW_T_SINK_MIN 2 - param set FW_T_TIME_CONST 9 - param set FW_Y_ROLLFF 2.0 - param set RC_SCALE_ROLL 1.0 - param set RC_SCALE_PITCH 1.0 -fi +sh /etc/init.d/rc.fw_defaults -set VEHICLE_TYPE fw set MIXER FMU_X5 |