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/10016_3dr_iris | |
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/10016_3dr_iris')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/10016_3dr_iris | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ROMFS/px4fmu_common/init.d/10016_3dr_iris b/ROMFS/px4fmu_common/init.d/10016_3dr_iris index a3bcb63eb..6c9cb6983 100644 --- a/ROMFS/px4fmu_common/init.d/10016_3dr_iris +++ b/ROMFS/px4fmu_common/init.d/10016_3dr_iris @@ -10,13 +10,15 @@ then # # Default parameters for this platform # - param set MC_ATT_P 9.0 - param set MC_ATT_I 0.0 + param set MC_ROLL_P 9.0 + param set MC_ROLLRATE_P 0.13 + param set MC_ROLLRATE_I 0.0 + param set MC_ROLLRATE_D 0.004 + param set MC_PITCH_P 9.0 + param set MC_PITCHRATE_P 0.13 + param set MC_PITCHRATE_I 0.0 + param set MC_PITCHRATE_D 0.004 param set MC_YAW_P 0.5 - param set MC_YAW_I 0.15 - param set MC_ATTRATE_P 0.13 - param set MC_ATTRATE_I 0.0 - param set MC_ATTRATE_D 0.004 param set MC_YAWRATE_P 0.2 param set MC_YAWRATE_I 0.0 param set MC_YAWRATE_D 0.0 |