diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-15 09:04:45 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-15 09:04:45 +0200 |
commit | b43f2e8be95417cdb58b670e549cffc6445b8f81 (patch) | |
tree | 5d126f7c6b70de0e02936d5b53b9bb426057b2ea | |
parent | 2cda6820747986c48de02be0c09d7ce67e63c6f7 (diff) | |
download | px4-firmware-b43f2e8be95417cdb58b670e549cffc6445b8f81.tar.gz px4-firmware-b43f2e8be95417cdb58b670e549cffc6445b8f81.tar.bz2 px4-firmware-b43f2e8be95417cdb58b670e549cffc6445b8f81.zip |
USB startup: Give NuttX enough time to tear down an app and free memory before starting the next
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.usb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.usb b/ROMFS/px4fmu_common/init.d/rc.usb index b2cd62222..76593881d 100644 --- a/ROMFS/px4fmu_common/init.d/rc.usb +++ b/ROMFS/px4fmu_common/init.d/rc.usb @@ -6,17 +6,17 @@ mavlink start -r 10000 -d /dev/ttyACM0 # Enable a number of interesting streams we want via USB mavlink stream -d /dev/ttyACM0 -s NAMED_VALUE_FLOAT -r 10 -usleep 1000 +usleep 100000 mavlink stream -d /dev/ttyACM0 -s OPTICAL_FLOW -r 10 -usleep 1000 +usleep 100000 mavlink stream -d /dev/ttyACM0 -s VFR_HUD -r 20 -usleep 1000 +usleep 100000 mavlink stream -d /dev/ttyACM0 -s ATTITUDE -r 20 -usleep 1000 +usleep 100000 mavlink stream -d /dev/ttyACM0 -s ATTITUDE_CONTROLS -r 30 -usleep 1000 +usleep 100000 mavlink stream -d /dev/ttyACM0 -s SERVO_OUTPUT_RAW_0 -r 20 -usleep 1000 +usleep 100000 # Exit shell to make it available to MAVLink exit |