mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 14:13:34 +08:00
mavlink temporary workarounds for dronekit: added parameters to disable (#10422)
hash check and heartbeat forwarding - hash check disabling: for systems where a companion link forwards messages to QGC (e.g. via LTE) parameter streaming will be stopped as soon as QGC sends the request to stop the stream. If the companion side for some reason still requires the stream to be active we need to disable QGC from stopping the stream. Normally dronekit should be responsible for filtering out the request from QGC but apparently this is not possible. - disable heartbeat forwarding: dronekit does seem to get confused if heartbeats from another system other than the autopilot get forwarded to it. Example: Sending messages from QGC via the autopilot to dronekit running on companion computer. Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
@@ -141,3 +141,25 @@ PARAM_DEFINE_INT32(MAV_FWDEXTSP, 1);
|
||||
* @group MAVLink
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MAV_BROADCAST, 0);
|
||||
|
||||
/**
|
||||
* Parameter hash check.
|
||||
*
|
||||
* Disabling the parameter hash check functionality will make the mavlink instance
|
||||
* stream parameters continuously.
|
||||
*
|
||||
* @boolean
|
||||
* @group MAVLink
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MAV_HASH_CHK_EN, 1);
|
||||
|
||||
/**
|
||||
* Hearbeat message forwarding.
|
||||
*
|
||||
* The mavlink hearbeat message will not be forwarded if this parameter is set to 'disabled'.
|
||||
* The main reason for disabling heartbeats to be forwarded is because they confuse dronekit.
|
||||
*
|
||||
* @boolean
|
||||
* @group MAVLink
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MAV_HB_FORW_EN, 1);
|
||||
|
||||
Reference in New Issue
Block a user