diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-01-31 11:36:25 +0100 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-01-31 11:36:25 +0100 |
commit | 103bece7266bbcbcd3f31aaf165ea6f902dec9f4 (patch) | |
tree | 704ce27ab07d08fbb7627607a8ab0dc5a73bae5a /ROMFS/px4fmu_common/init.d/1001_rc_quad_x.hil | |
parent | 282e0bb6703e6f013eee690bda97e09045837fd3 (diff) | |
download | px4-firmware-103bece7266bbcbcd3f31aaf165ea6f902dec9f4.tar.gz px4-firmware-103bece7266bbcbcd3f31aaf165ea6f902dec9f4.tar.bz2 px4-firmware-103bece7266bbcbcd3f31aaf165ea6f902dec9f4.zip |
rc scripts cleanup, avoid duplicating parameters, use inheritance instead
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/1001_rc_quad_x.hil')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/1001_rc_quad_x.hil | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/ROMFS/px4fmu_common/init.d/1001_rc_quad_x.hil b/ROMFS/px4fmu_common/init.d/1001_rc_quad_x.hil index 2d497374a..84e2bc5d4 100644 --- a/ROMFS/px4fmu_common/init.d/1001_rc_quad_x.hil +++ b/ROMFS/px4fmu_common/init.d/1001_rc_quad_x.hil @@ -5,38 +5,6 @@ # Maintainers: Anton Babushkin <anton.babushkin@me.com> # -if [ $DO_AUTOCONFIG == yes ] -then - # - # Default parameters for this platform - # - param set MC_ATT_P 7.0 - param set MC_ATT_I 0.0 - param set MC_YAW_P 2.0 - param set MC_YAW_I 0.0 - param set MC_ATTRATE_P 0.12 - param set MC_ATTRATE_I 0.0 - param set MC_ATTRATE_D 0.004 - param set MC_YAWRATE_P 0.3 - param set MC_YAWRATE_I 0.2 - param set MC_YAWRATE_D 0.005 - - param set MPC_TILT_MAX 1.0 - param set MPC_THR_MAX 1.0 - param set MPC_THR_MIN 0.1 - param set MPC_XY_P 1.0 - param set MPC_XY_VEL_D 0.01 - param set MPC_XY_VEL_I 0.02 - param set MPC_XY_VEL_MAX 5 - param set MPC_XY_VEL_P 0.1 - param set MPC_Z_P 1.0 - param set MPC_Z_VEL_D 0.0 - param set MPC_Z_VEL_I 0.02 - param set MPC_Z_VEL_MAX 3 - param set MPC_Z_VEL_P 0.1 -fi +sh /etc/init.d/4001_quad_x set HIL yes - -set VEHICLE_TYPE mc -set MIXER FMU_quad_x |