aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.fixedwing
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2013-11-05 16:59:34 +0100
committerJulian Oes <julian@oes.ch>2013-11-05 16:59:34 +0100
commit857c3d2efd49085dfd28827b06d96776340e5a09 (patch)
treee0af3b417227d15398d649aabf26479b9631aa52 /ROMFS/px4fmu_common/init.d/rc.fixedwing
parentd3b267c06e53aaf119b66717ac33e78834ea0d69 (diff)
downloadpx4-firmware-857c3d2efd49085dfd28827b06d96776340e5a09.tar.gz
px4-firmware-857c3d2efd49085dfd28827b06d96776340e5a09.tar.bz2
px4-firmware-857c3d2efd49085dfd28827b06d96776340e5a09.zip
Startup scripts: Corrected cases where commander was not started, updated several outdated scripts
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.fixedwing')
-rw-r--r--ROMFS/px4fmu_common/init.d/rc.fixedwing39
1 files changed, 39 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.fixedwing b/ROMFS/px4fmu_common/init.d/rc.fixedwing
new file mode 100644
index 000000000..79e34a3b9
--- /dev/null
+++ b/ROMFS/px4fmu_common/init.d/rc.fixedwing
@@ -0,0 +1,39 @@
+#!nsh
+#
+# Standard everything needed for fixedwing except mixer, actuator output and mavlink
+#
+
+#
+# Start the Commander
+#
+commander start
+
+#
+# Start the sensors and test them.
+#
+sh /etc/init.d/rc.sensors
+
+#
+# Start logging (depends on sensors)
+#
+sh /etc/init.d/rc.logging
+
+#
+# Start GPS interface (depends on orb)
+#
+gps start
+
+#
+# Start the attitude and position estimator
+#
+att_pos_estimator_ekf start
+
+#
+# Start attitude controller
+#
+fw_att_control start
+
+#
+# Start the position controller
+#
+fw_pos_control_l1 start