diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-07-25 14:30:45 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-07-25 14:30:45 +0200 |
commit | c5a623e15892d63eb3571bc450edea368b2894db (patch) | |
tree | 1a56d092a53314075740f647e7135540726fe388 /ROMFS | |
parent | 07c4144cde1026c4d966d043d12e36ba686c0781 (diff) | |
download | px4-firmware-c5a623e15892d63eb3571bc450edea368b2894db.tar.gz px4-firmware-c5a623e15892d63eb3571bc450edea368b2894db.tar.bz2 px4-firmware-c5a623e15892d63eb3571bc450edea368b2894db.zip |
rcS: set rates for parameters and missions on USB connection
Diffstat (limited to 'ROMFS')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.usb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.usb b/ROMFS/px4fmu_common/init.d/rc.usb index 1f8d8b862..d31ef11cf 100644 --- a/ROMFS/px4fmu_common/init.d/rc.usb +++ b/ROMFS/px4fmu_common/init.d/rc.usb @@ -5,6 +5,10 @@ mavlink start -r 10000 -d /dev/ttyACM0 -x # Enable a number of interesting streams we want via USB +mavlink stream -d /dev/ttyACM0 -s PARAM_VALUE -r 200 +usleep 100000 +mavlink stream -d /dev/ttyACM0 -s MISSION_ITEM -r 50 +usleep 100000 mavlink stream -d /dev/ttyACM0 -s NAMED_VALUE_FLOAT -r 10 usleep 100000 mavlink stream -d /dev/ttyACM0 -s OPTICAL_FLOW -r 10 |