aboutsummaryrefslogtreecommitdiff
path: root/ROMFS
diff options
context:
space:
mode:
authorJuchli D <juchlid@ethz.ch>2013-11-15 10:30:48 +0100
committerJuchli D <juchlid@ethz.ch>2013-11-15 10:30:48 +0100
commitadee47978236aa113ee29f071f3498a60a802477 (patch)
tree077fe7ba3858fdf55ddb4f4064bbc95821655b2b /ROMFS
parentaf3a56f17f6863210b0bcbf9569754a8c4ba3e53 (diff)
downloadpx4-firmware-adee47978236aa113ee29f071f3498a60a802477.tar.gz
px4-firmware-adee47978236aa113ee29f071f3498a60a802477.tar.bz2
px4-firmware-adee47978236aa113ee29f071f3498a60a802477.zip
Working bottle Drop test
Diffstat (limited to 'ROMFS')
-rw-r--r--ROMFS/px4fmu_common/init.d/900_bottle_drop_test29
1 files changed, 29 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/900_bottle_drop_test b/ROMFS/px4fmu_common/init.d/900_bottle_drop_test
index 522f78210..c0f50fec0 100644
--- a/ROMFS/px4fmu_common/init.d/900_bottle_drop_test
+++ b/ROMFS/px4fmu_common/init.d/900_bottle_drop_test
@@ -28,6 +28,32 @@ set EXIT_ON_END no
mavlink start
usleep 5000
+#
+# Start the sensors and test them.
+#
+sh /etc/init.d/rc.sensors
+
+#
+# Start logging (depends on sensors)
+#
+#sh /etc/init.d/rc.logging
+sdlog2 start -r 200 -e -b 16
+
+
+#
+# Start GPS interface (depends on orb)
+#
+gps start
+
+#
+# Start the attitude estimator
+#
+attitude_estimator_ekf start
+
+#
+# Start position estimator
+#
+position_estimator_inav start
sh /etc/init.d/rc.io
@@ -35,6 +61,9 @@ fmu mode_pwm
mixer load /dev/px4fmu /etc/mixers/FMU_pass.mix
+pwm min -d /dev/px4fmu -c 123 -p 900
+pwm max -d /dev/px4fmu -c 123 -p 2100
+
pwm arm -d /dev/px4fmu
bottle_drop start