diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-21 10:44:31 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-21 10:44:31 +0100 |
commit | 2988136e7eaa1f55c41376b74b58766af9f8fcb9 (patch) | |
tree | fc70f4da004976adb9323cc0a527a7172f32c32b /ROMFS/px4fmu_common | |
parent | 055e45935534b409cd3ed68c837399461e448b3e (diff) | |
download | px4-firmware-2988136e7eaa1f55c41376b74b58766af9f8fcb9.tar.gz px4-firmware-2988136e7eaa1f55c41376b74b58766af9f8fcb9.tar.bz2 px4-firmware-2988136e7eaa1f55c41376b74b58766af9f8fcb9.zip |
Implemented last missing messages, added stream config for USB, made stream config fails for non-existing mavlink links non-fatal
Diffstat (limited to 'ROMFS/px4fmu_common')
-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 558be4275..2af790fc4 100644 --- a/ROMFS/px4fmu_common/init.d/rc.usb +++ b/ROMFS/px4fmu_common/init.d/rc.usb @@ -6,6 +6,10 @@ echo "Starting MAVLink on this USB console" 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 +mavlink stream -d /dev/ttyACM0 -s OPTICAL_FLOW -r 10 +mavlink stream -d /dev/ttyACM0 -s ATTITUDE_CONTROL -r 30 # Exit shell to make it available to MAVLink exit |