atl/mantis-edu: enable mavlink ftp

This commit is contained in:
Junwoo Hwang 2022-08-11 16:30:13 +02:00 committed by Beat Küng
parent ffb8fb4383
commit 0c218e6628
1 changed files with 2 additions and 1 deletions

View File

@ -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