diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-07-07 10:59:43 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-07-07 10:59:43 -0700 |
commit | cf2dbdf9a1ae06c7d0e0a7963916a3709a1bc075 (patch) | |
tree | 79cb506ef7dbc1a7c1045f68b5ce8c169683c41e /ROMFS | |
parent | 7cf121472e7ba3d83084083792b0f159f238a8ef (diff) | |
parent | 422c675c551c4a160e8bcdb18ffe3c6160b63980 (diff) | |
download | px4-firmware-cf2dbdf9a1ae06c7d0e0a7963916a3709a1bc075.tar.gz px4-firmware-cf2dbdf9a1ae06c7d0e0a7963916a3709a1bc075.tar.bz2 px4-firmware-cf2dbdf9a1ae06c7d0e0a7963916a3709a1bc075.zip |
Merge pull request #320 from PX4/integration
NuttX integration merge
Diffstat (limited to 'ROMFS')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.hil | 4 | ||||
-rwxr-xr-x | ROMFS/px4fmu_common/init.d/rcS | 23 |
2 files changed, 8 insertions, 19 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.hil b/ROMFS/px4fmu_common/init.d/rc.hil index 7614ac0fe..3517a5bd8 100644 --- a/ROMFS/px4fmu_common/init.d/rc.hil +++ b/ROMFS/px4fmu_common/init.d/rc.hil @@ -54,13 +54,13 @@ sh /etc/init.d/rc.sensors # # Start the attitude estimator (depends on orb) # -kalman_demo start +att_pos_estimator_ekf start # # Load mixer and start controllers (depends on px4io) # mixer load /dev/pwm_output /etc/mixers/FMU_AET.mix -control_demo start +fixedwing_backside start echo "[HIL] setup done, running" diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index c0a70f7dd..22dec87cb 100755 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -1,17 +1,6 @@ #!nsh # # PX4FMU startup script. -# -# This script is responsible for: -# -# - mounting the microSD card (if present) -# - running the user startup script from the microSD card (if present) -# - detecting the configuration of the system and picking a suitable -# startup script to continue with -# -# Note: DO NOT add configuration-specific commands to this script; -# add them to the per-configuration scripts instead. -# # # Default to auto-start mode. An init script on the microSD card @@ -21,11 +10,6 @@ set MODE autostart set USB autoconnect # - -# - - -# # Try to mount the microSD card. # echo "[init] looking for microSD..." @@ -69,7 +53,12 @@ else then echo "[init] USB interface connected" else - echo "[init] No USB connected" + if [ -f /dev/ttyACM0 ] + echo "[init] NSH via USB" + then + else + echo "[init] No USB connected" + fi fi fi |