aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rcS
diff options
context:
space:
mode:
authormarco <marco@Marcos-MacBook-Pro.local>2013-09-13 21:05:41 +0200
committermarco <marco@Marcos-MacBook-Pro.local>2013-09-13 21:05:41 +0200
commit318abfabcb1e0d8d23df3df8015d4c7bdc011b2a (patch)
tree911ebf5ad29922b61ffc03ad83e3f264d4aa6c62 /ROMFS/px4fmu_common/init.d/rcS
parent7ad2654b2dfcce9f03682e134f8603fab924b97b (diff)
downloadpx4-firmware-318abfabcb1e0d8d23df3df8015d4c7bdc011b2a.tar.gz
px4-firmware-318abfabcb1e0d8d23df3df8015d4c7bdc011b2a.tar.bz2
px4-firmware-318abfabcb1e0d8d23df3df8015d4c7bdc011b2a.zip
mkblctrl fix and qgroundcontrol2 startup script for different frametypes
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rcS')
-rwxr-xr-xROMFS/px4fmu_common/init.d/rcS36
1 files changed, 36 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS
index cd4d4487d..b7f1329dd 100755
--- a/ROMFS/px4fmu_common/init.d/rcS
+++ b/ROMFS/px4fmu_common/init.d/rcS
@@ -172,6 +172,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