Mavlink: Add MAV_x_RADIO_CTL parameter to disable RADIO_STATUS flow control

* Add param for software flow ctl on 3DR radios
* Dont reset telemetry type on radio timeout
* Treat 3DR radio as generic link type
* Rename 3DR to SiK radio
This commit is contained in:
Nico van Duijn
2020-02-03 09:49:47 -05:00
committed by GitHub
parent 9612e40464
commit 7778cbd463
5 changed files with 61 additions and 44 deletions
+17
View File
@@ -8,6 +8,10 @@ serial_config:
then
set MAV_ARGS "${MAV_ARGS} -f"
fi
if param compare MAV_${i}_RADIO_CTL 1
then
set MAV_ARGS "${MAV_ARGS} -s"
fi
mavlink start -d ${SERIAL_DEV} ${MAV_ARGS} -x
port_config_param:
name: MAV_${i}_CONFIG
@@ -78,3 +82,16 @@ parameters:
num_instances: *max_num_config_instances
default: [true, false, false]
MAV_${i}_RADIO_CTL:
description:
short: Enable software throttling of mavlink on instance ${i}
long: |
If enabled, MAVLink messages will be throttled according to
`txbuf` field reported by radio_status.
Requires a radio to send the mavlink message RADIO_STATUS.
type: boolean
reboot_required: true
num_instances: *max_num_config_instances
default: [true, true, true]