forked from Archive/PX4-Autopilot
atl/mantis-edu: enable mavlink ftp
This commit is contained in:
parent
ffb8fb4383
commit
0c218e6628
|
@ -3,11 +3,12 @@
|
||||||
# board specific MAVLink startup script.
|
# board specific MAVLink startup script.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# MAVLink instance for Gimbal control & generic WiFi connection (e.g. QGC)
|
||||||
set GIMBAL_TTY /dev/ttyS3
|
set GIMBAL_TTY /dev/ttyS3
|
||||||
set MAV_RATE 40000
|
set MAV_RATE 40000
|
||||||
set BAUDRATE 500000
|
set BAUDRATE 500000
|
||||||
|
|
||||||
mavlink start -r ${MAV_RATE} -d ${GIMBAL_TTY} -b ${BAUDRATE}
|
mavlink start -r ${MAV_RATE} -d ${GIMBAL_TTY} -b ${BAUDRATE} -x
|
||||||
mavlink stream -d ${GIMBAL_TTY} -s SYSTEM_TIME -r 0.5
|
mavlink stream -d ${GIMBAL_TTY} -s SYSTEM_TIME -r 0.5
|
||||||
mavlink stream -d ${GIMBAL_TTY} -s AUTOPILOT_STATE_FOR_GIMBAL_DEVICE -r 20
|
mavlink stream -d ${GIMBAL_TTY} -s AUTOPILOT_STATE_FOR_GIMBAL_DEVICE -r 20
|
||||||
mavlink stream -d ${GIMBAL_TTY} -s GIMBAL_DEVICE_SET_ATTITUDE -r 20
|
mavlink stream -d ${GIMBAL_TTY} -s GIMBAL_DEVICE_SET_ATTITUDE -r 20
|
||||||
|
|
Loading…
Reference in New Issue