Skip to content

Send out initial heartbeat on connection creation#1163

Merged
1Blademaster merged 1 commit into
mainfrom
1162-task-udp-connection-requires-sending-heartbeat
Apr 13, 2026
Merged

Send out initial heartbeat on connection creation#1163
1Blademaster merged 1 commit into
mainfrom
1162-task-udp-connection-requires-sending-heartbeat

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 13, 2026 18:50
@1Blademaster 1Blademaster linked an issue Apr 13, 2026 that may be closed by this pull request
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

Adds an immediate outgoing MAVLink heartbeat right after creating the MAVLink connection, reducing the time between connection creation and the first GCS heartbeat seen by the vehicle.

Changes:

  • Send an initial HEARTBEAT message immediately after mavlink_connection() succeeds.
  • Log (non-fatal) failures to send that initial heartbeat and proceed to the existing inbound-heartbeat wait loop.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread radio/app/drone.py
@1Blademaster 1Blademaster merged commit 55f7b14 into main Apr 13, 2026
11 checks passed
@1Blademaster 1Blademaster deleted the 1162-task-udp-connection-requires-sending-heartbeat branch April 13, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TASK] UDP connection requires sending heartbeat

2 participants