2013-03-21 06:14:34 -03:00
|
|
|
#!nsh
|
|
|
|
#
|
|
|
|
# USB MAVLink start
|
|
|
|
#
|
|
|
|
|
2015-05-15 04:42:35 -03:00
|
|
|
mavlink start -r 80000 -d /dev/ttyACM0 -x
|
2014-03-21 06:44:31 -03:00
|
|
|
# Enable a number of interesting streams we want via USB
|
2014-07-25 09:30:45 -03:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s PARAM_VALUE -r 200
|
|
|
|
mavlink stream -d /dev/ttyACM0 -s MISSION_ITEM -r 50
|
2014-03-21 06:44:31 -03:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s NAMED_VALUE_FLOAT -r 10
|
2015-02-11 12:43:07 -04:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s OPTICAL_FLOW_RAD -r 10
|
2014-03-24 06:13:56 -03:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s VFR_HUD -r 20
|
|
|
|
mavlink stream -d /dev/ttyACM0 -s ATTITUDE -r 20
|
2015-02-12 04:26:55 -04:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s ACTUATOR_CONTROL_TARGET0 -r 30
|
2014-07-29 06:59:38 -03:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s RC_CHANNELS_RAW -r 5
|
2014-05-14 17:13:33 -03:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s SERVO_OUTPUT_RAW_0 -r 20
|
2014-08-13 15:09:57 -03:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s POSITION_TARGET_GLOBAL_INT -r 10
|
2014-08-21 09:30:17 -03:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s LOCAL_POSITION_NED -r 30
|
2015-01-04 07:31:21 -04:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s MANUAL_CONTROL -r 5
|
2015-02-10 10:12:28 -04:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s HIGHRES_IMU -r 20
|
2015-02-11 12:43:07 -04:00
|
|
|
mavlink stream -d /dev/ttyACM0 -s GPS_RAW_INT -r 20
|
2013-07-18 08:16:34 -03:00
|
|
|
|
2013-03-21 06:14:34 -03:00
|
|
|
# Exit shell to make it available to MAVLink
|
2014-03-23 10:34:15 -03:00
|
|
|
exit
|