Use MAVLink v1 only as opt-in (#25583)

* Remove support for MAVLink 1

* Add back support for MAVLink 1 but don't default to it

* Update src/modules/mavlink/mavlink_params.c

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>

---------

Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
This commit is contained in:
Matthias Grob
2025-10-14 06:58:34 +02:00
committed by GitHub
parent 33301764e4
commit 12035682d7
10 changed files with 14 additions and 41 deletions

View File

@@ -571,7 +571,6 @@
1 1 MAV_FWDEXTSP 1 6
1 1 MAV_HASH_CHK_EN 1 6
1 1 MAV_HB_FORW_EN 1 6
1 1 MAV_PROTO_VER 0 6
1 1 MAV_RADIO_TOUT 5 6
1 1 MAV_SIK_RADIO_ID 0 6
1 1 MAV_SYS_ID 1 6

View File

@@ -161,7 +161,7 @@ There are different clients that support ulog streaming:
- If log streaming does not start, make sure the `logger` is running (see above), and inspect the console output while starting.
- If it still does not work, make sure that MAVLink 2 is used.
Enforce it by setting `MAV_PROTO_VER` to 2.
`MAV_PROTO_VER` needs to be set to 2.
- Log streaming uses a maximum of 70% of the configured MAVLink rate (`-r` parameter).
If more is needed, messages are dropped.
The currently used percentage can be inspected with `mavlink status` (1.8% is used in this example):

View File

@@ -203,7 +203,7 @@ This should be enabled by default on recent builds.
To ensure MAVLink2 is used:
- Update the telemetry module firmware to the latest version (see [QGroundControl > Setup > Firmware](https://docs.qgroundcontrol.com/master/en/qgc-user-guide/setup_view/firmware.html)).
- Set [MAV_PROTO_VER](../advanced_config/parameter_reference.md#MAV_PROTO_VER) to 2 (see [QGroundControl Setup > Parameters](https://docs.qgroundcontrol.com/master/en/qgc-user-guide/setup_view/parameters.html))
- Ensure [MAV_PROTO_VER](../advanced_config/parameter_reference.md#MAV_PROTO_VER) is set to 2 (see [QGroundControl Setup > Parameters](https://docs.qgroundcontrol.com/master/en/qgc-user-guide/setup_view/parameters.html))
#### Tuning