diff options
author | px4dev <px4@purgatory.org> | 2013-04-26 19:16:55 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-04-26 19:16:55 -0700 |
commit | 53f6bac327f6a799b9b0dfee368406cce4151a03 (patch) | |
tree | 88db3be11f9198a9d8970644fc447c3e2b7429e7 /ROMFS/px4fmu_common/init.d/rc.PX4IOAR | |
parent | 01e427b17c161d8adaa38d6bdb91aecb434451f2 (diff) | |
parent | 72aaa0f7f2dee98a572ad812157fd6781a52cc90 (diff) | |
download | px4-firmware-53f6bac327f6a799b9b0dfee368406cce4151a03.tar.gz px4-firmware-53f6bac327f6a799b9b0dfee368406cce4151a03.tar.bz2 px4-firmware-53f6bac327f6a799b9b0dfee368406cce4151a03.zip |
Merge branch 'master' into export-build
Clean up some script trash and update scripts.
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.PX4IOAR')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.PX4IOAR | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.PX4IOAR b/ROMFS/px4fmu_common/init.d/rc.PX4IOAR index 72df68e35..ab29e21c7 100644 --- a/ROMFS/px4fmu_common/init.d/rc.PX4IOAR +++ b/ROMFS/px4fmu_common/init.d/rc.PX4IOAR @@ -2,10 +2,10 @@ # # Flight startup script for PX4FMU on PX4IOAR carrier board. # - + # Disable the USB interface set USB no - + # Disable autostarting other apps set MODE ardrone @@ -25,13 +25,18 @@ if [ -f /fs/microsd/parameters ] then param load /fs/microsd/parameters fi - + # # Force some key parameters to sane values # MAV_TYPE 1 = fixed wing, 2 = quadrotor, 13 = hexarotor # see https://pixhawk.ethz.ch/mavlink/ # param set MAV_TYPE 2 + +# +# Configure PX4FMU for operation with PX4IOAR +# +fmu mode_gpio_serial # # Start the sensors. @@ -55,11 +60,6 @@ commander start attitude_estimator_ekf start # -# Configure PX4FMU for operation with PX4IOAR -# -fmu mode_gpio_serial - -# # Fire up the multi rotor attitude controller # multirotor_att_control start @@ -68,11 +68,6 @@ multirotor_att_control start # Fire up the AR.Drone interface. # ardrone_interface start -d /dev/ttyS1 - -# -# Start GPS capture -# -gps start # # Start logging @@ -80,6 +75,11 @@ gps start sdlog start -s 10 # +# Start GPS capture +# +gps start + +# # Start system state # if blinkm start @@ -95,4 +95,5 @@ fi # use the same UART for telemetry # echo "[init] startup done" -exit
\ No newline at end of file + +exit |