Skip to content

Mavlink: Change to allow V1 heartbeats without notify#13760

Merged
DonLakeFlyer merged 1 commit intomasterfrom
MavlinkV2
Dec 18, 2025
Merged

Mavlink: Change to allow V1 heartbeats without notify#13760
DonLakeFlyer merged 1 commit intomasterfrom
MavlinkV2

Conversation

@DonLakeFlyer
Copy link
Copy Markdown
Collaborator

  • PX4 defaults to sending a V1 heartbeat adn then switches to V2 when QGC sends V2 traffic
  • ArduPilot always continuously sends both V1 and V2 heartbeats

Copilot AI review requested due to automatic review settings December 17, 2025 18:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modifies the MAVLink protocol handling to allow MAVLink V1 heartbeat messages on V2 links without triggering warnings or user notifications. This accommodates two common autopilot behaviors:

  • PX4 initially sends V1 heartbeats and switches to V2 after receiving V2 messages from the ground control station
  • ArduPilot continuously sends both V1 and V2 heartbeats simultaneously

Key Changes

  • Modified the V1 traffic detection logic to exempt heartbeat messages from triggering the "MAVLink v1 traffic detected" warning
  • Added explanatory comments documenting the firmware-specific behaviors that necessitate this change

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 17, 2025

🏗️ Build Status

Platform Status Details
Linux View
Windows View
MacOS View
Android View

Some builds failed. Please check the logs.

Last updated: 2025-12-17T23:49:24Z

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 17, 2025

📦 Artifact Size Report

Artifact Size Threshold Status
QGroundControl-aarch64.AppImage 186.08 MB 200 MB
QGroundControl-x86_64.AppImage 173.67 MB 200 MB

No baseline available for comparison (first build or cache expired)

@github-actions
Copy link
Copy Markdown
Contributor

Test Results


Total: 0 passed, 0 skipped

@github-actions
Copy link
Copy Markdown
Contributor

📊 Code Coverage Report

Metric Coverage Δ from master
🟢 Lines 100.00% No baseline
🟢 Branches 100.00% No baseline

✅ Great coverage!

View detailed coverage report in build artifacts or Codecov.

@DonLakeFlyer DonLakeFlyer merged commit 69ebf6a into master Dec 18, 2025
26 of 40 checks passed
@DonLakeFlyer DonLakeFlyer deleted the MavlinkV2 branch December 18, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants