diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-19 01:24:31 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-19 01:24:31 -0700 |
commit | 8b992f720b79546f1c0dc9e5fdf71753221695d5 (patch) | |
tree | c93af973aa330051777b9fb8b90a77ac136b1975 /ROMFS/px4fmu_common/init.d/rcS | |
parent | d289467dadd1adec4984ac987c0a8f779795d9dd (diff) | |
parent | 318abfabcb1e0d8d23df3df8015d4c7bdc011b2a (diff) | |
download | px4-firmware-8b992f720b79546f1c0dc9e5fdf71753221695d5.tar.gz px4-firmware-8b992f720b79546f1c0dc9e5fdf71753221695d5.tar.bz2 px4-firmware-8b992f720b79546f1c0dc9e5fdf71753221695d5.zip |
Merge pull request #398 from NosDE/master
mkblctrl fix and qgroundcontrol2 startup script for different frametypes
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rcS')
-rwxr-xr-x | ROMFS/px4fmu_common/init.d/rcS | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 7e2af418e..c2a8c0c6a 100755 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -182,6 +182,42 @@ then sh /etc/init.d/16_3dr_iris set MODE custom fi + + # PX4FMU v1, v2 with or without IO and Mikrokopter I2C ESCs on DJI F330 X Frame + if param compare SYS_AUTOSTART 17 + then + set MKBLCTRL_MODE no + set MKBLCTRL_FRAME x + sh /etc/init.d/rc.custom_dji_f330_mkblctrl + set MODE custom + fi + + # PX4FMU v1, v2 with or without IO and Mikrokopter I2C ESCs on DJI F330 + Frame + if param compare SYS_AUTOSTART 18 + then + set MKBLCTRL_MODE no + set MKBLCTRL_FRAME + + sh /etc/init.d/rc.custom_dji_f330_mkblctrl + set MODE custom + fi + + # PX4FMU v1, v2 with or without IO and Mikrokopter I2C ESCs on DJI F330 X Frame Mikrokopter-Addressing + if param compare SYS_AUTOSTART 19 + then + set MKBLCTRL_MODE yes + set MKBLCTRL_FRAME x + sh /etc/init.d/rc.custom_dji_f330_mkblctrl + set MODE custom + fi + + # PX4FMU v1, v2 with or without IO and Mikrokopter I2C ESCs on DJI F330 + Frame Mikrokopter-Addressing + if param compare SYS_AUTOSTART 20 + then + set MKBLCTRL_MODE yes + set MKBLCTRL_FRAME + + sh /etc/init.d/rc.custom_dji_f330_mkblctrl + set MODE custom + fi if param compare SYS_AUTOSTART 30 then |