diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2013-11-09 23:31:09 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2013-11-09 23:31:09 +0400 |
commit | 9f4dc0d15491295467d29e4af99bd48ba9db9617 (patch) | |
tree | f91487e4c43e7098b053aa0616722dc37a90460c /ROMFS/px4fmu_common/init.d/32_skywalker_x5 | |
parent | 67c33b28102067db2bfc5240f71f4d2c3eb97b4a (diff) | |
parent | 3231a636b8dc7b3f367926f0faaa8aed99aeda19 (diff) | |
download | px4-firmware-9f4dc0d15491295467d29e4af99bd48ba9db9617.tar.gz px4-firmware-9f4dc0d15491295467d29e4af99bd48ba9db9617.tar.bz2 px4-firmware-9f4dc0d15491295467d29e4af99bd48ba9db9617.zip |
Merge branch 'master' into yaw_pid_fix
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/32_skywalker_x5')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/32_skywalker_x5 | 31 |
1 files changed, 5 insertions, 26 deletions
diff --git a/ROMFS/px4fmu_common/init.d/32_skywalker_x5 b/ROMFS/px4fmu_common/init.d/32_skywalker_x5 index cd7677112..1e752f13a 100644 --- a/ROMFS/px4fmu_common/init.d/32_skywalker_x5 +++ b/ROMFS/px4fmu_common/init.d/32_skywalker_x5 @@ -30,8 +30,6 @@ then # Start MAVLink (depends on orb) mavlink start - commander start - sh /etc/init.d/rc.io # Limit to 100 Hz updates and (implicit) 50 Hz PWM px4io limit 100 @@ -39,32 +37,10 @@ else # Start MAVLink (on UART1 / ttyS0) mavlink start -d /dev/ttyS0 - commander start - fmu mode_pwm param set BAT_V_SCALING 0.004593 set EXIT_ON_END yes fi - -# -# 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 # # Load mixer and start controllers (depends on px4io) @@ -77,8 +53,11 @@ else echo "Using /etc/mixers/FMU_Q.mix" mixer load /dev/pwm_output /etc/mixers/FMU_Q.mix fi -fw_att_control start -fw_pos_control_l1 start + +# +# Start common fixedwing apps +# +sh /etc/init.d/rc.fixedwing if [ $EXIT_ON_END == yes ] then |