mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2025-12-08 11:41:39 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user