diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-04-07 10:15:26 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-04-07 10:15:26 -0700 |
commit | f562a279765a7d90bad7b07963995148de4b2af2 (patch) | |
tree | 75b5573170999cad1d1ac4db9aee2c4631a6f51d /ROMFS/scripts | |
parent | 9dbd2695d3b476e8ed0a2001b027329e8600bd29 (diff) | |
parent | a1c8d19c343454c5464ae21be1ec4456b0559996 (diff) | |
download | px4-firmware-f562a279765a7d90bad7b07963995148de4b2af2.tar.gz px4-firmware-f562a279765a7d90bad7b07963995148de4b2af2.tar.bz2 px4-firmware-f562a279765a7d90bad7b07963995148de4b2af2.zip |
Merge pull request #244 from PX4/hil
Small HIL improvements
Diffstat (limited to 'ROMFS/scripts')
-rw-r--r-- | ROMFS/scripts/rc.hil | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ROMFS/scripts/rc.hil b/ROMFS/scripts/rc.hil index 3b37ac26b..980b78edd 100644 --- a/ROMFS/scripts/rc.hil +++ b/ROMFS/scripts/rc.hil @@ -36,6 +36,17 @@ param set MAV_TYPE 1 commander start # +# Check if we got an IO +# +if [ px4io start ] +then + echo "IO started" +else + fmu mode_serial + echo "FMU started" +end + +# # Start the sensors (depends on orb, px4io) # sh /etc/init.d/rc.sensors |