774 add mavlink forwarding#777
Merged
1Blademaster merged 10 commits intomainfrom Oct 26, 2025
Merged
Conversation
Closed
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds MAVLink message forwarding functionality, allowing the GCS to forward incoming MAVLink packets to another address (e.g., another GCS or application) in a one-way manner. The feature includes UI controls for configuring forwarding addresses, starting/stopping forwarding, and automatic forwarding initialization on connection.
Key changes:
- Backend support for forwarding MAVLink messages to configurable UDP/TCP addresses
- New "Advanced" toolbar menu with MAVLink forwarding option
- Redux state management for forwarding address and status
- Modal UI for configuring and controlling message forwarding
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| radio/app/endpoints/connections.py | Added socket endpoints for starting and stopping MAVLink forwarding |
| radio/app/endpoints/comPorts.py | Added forwarding_address parameter handling in drone connection flow |
| radio/app/endpoints/autopilot.py | Added TODO comment for forwarding address handling during autopilot reboot |
| radio/app/drone.py | Implemented core forwarding logic including address validation, connection management, and message forwarding in checkForMessages |
| gcs/src/redux/store.js | Added localStorage persistence for forwarding address and status |
| gcs/src/redux/slices/droneConnectionSlice.js | Added Redux state, actions, and selectors for forwarding feature |
| gcs/src/redux/middleware/socketMiddleware.js | Added socket listener for forwarding status updates |
| gcs/src/redux/middleware/emitters.js | Implemented emitters for start/stop forwarding actions |
| gcs/src/components/toolbar/toolbar.jsx | Integrated new Advanced menu into toolbar |
| gcs/src/components/toolbar/menus/view.jsx | Moved Connection Stats menu item to Advanced menu |
| gcs/src/components/toolbar/menus/advanced.jsx | Created new Advanced menu with Connection Stats and MAVLink Forwarding options |
| gcs/src/components/navbar.jsx | Added forwarding configuration modal and forwarding status notification in connection modal |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
Author
|
Need to update mac menu bar once #789 is merged. - Will do in a different ticket actually. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.