mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 06:23:33 +08:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user