diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-31 11:29:10 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-31 11:29:10 +0200 |
commit | 68415137b9e1117a1f7b4d54b9a96ed39af6a713 (patch) | |
tree | e7aedc74d218a81e0385deccb9feb4240da04042 /ROMFS/px4fmu_common | |
parent | 3a32ffa90b83880c5df71d615cbcb3eba5a6124a (diff) | |
parent | 2b71067618b2b4333c44072e27b960435407166d (diff) | |
download | px4-firmware-68415137b9e1117a1f7b4d54b9a96ed39af6a713.tar.gz px4-firmware-68415137b9e1117a1f7b4d54b9a96ed39af6a713.tar.bz2 px4-firmware-68415137b9e1117a1f7b4d54b9a96ed39af6a713.zip |
Merge pull request #1217 from PX4/mavlinkrates2
Mavlink: don't use mavlink helpers
Diffstat (limited to 'ROMFS/px4fmu_common')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.usb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.usb b/ROMFS/px4fmu_common/init.d/rc.usb index 1f8d8b862..eb6039b4c 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 @@ -15,6 +19,8 @@ mavlink stream -d /dev/ttyACM0 -s ATTITUDE -r 20 usleep 100000 mavlink stream -d /dev/ttyACM0 -s ATTITUDE_CONTROLS -r 30 usleep 100000 +mavlink stream -d /dev/ttyACM0 -s RC_CHANNELS_RAW -r 5 +usleep 100000 mavlink stream -d /dev/ttyACM0 -s SERVO_OUTPUT_RAW_0 -r 20 usleep 100000 mavlink stream -d /dev/ttyACM0 -s GLOBAL_POSITION_SETPOINT_INT -r 20 |