798 gcs connection announcement#799
Merged
1Blademaster merged 8 commits intomainfrom Oct 29, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds flight software version detection and validation during drone connection, along with UI improvements for status messages. The system now checks that the connected autopilot is running ArduPilot 4.x.x and displays the version to the user.
- Implements flight software version detection via MAVLink AUTOPILOT_VERSION message
- Adds version validation to reject unsupported versions (only 4.x.x supported)
- Improves status message UI to work when not connected to drone
- Updates MAVLink connection to properly identify as a GCS
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| radio/app/utils.py | Adds utility functions to decode and format flight software version from MAVLink message |
| radio/app/drone.py | Implements version detection during initialization with proper validation and error handling |
| radio/app/endpoints/comPorts.py | Includes flight software version in connection response to frontend |
| radio/app/endpoints/states.py | Removes STATUSTEXT from endpoint message list (now handled as always-on listener) |
| gcs/src/redux/slices/droneInfoSlice.js | Adds Redux state for storing flight software version |
| gcs/src/redux/slices/statusTextSlice.js | Adds action to reset messages on new connection |
| gcs/src/redux/middleware/socketMiddleware.js | Dispatches flight software version and resets messages on connection |
| gcs/src/dashboard.jsx | Updates status messages panel to display when not connected |
| gcs/src/components/dashboard/statusMessages.jsx | Handles messages without timestamps for non-connected state |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
NexInfinite
previously approved these changes
Oct 29, 2025
NexInfinite
approved these changes
Oct 29, 2025
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.
No description provided.