Skip to content

Remove wireless option when connecting to a drone#1006

Merged
1Blademaster merged 2 commits intomainfrom
996-task-remove-wireless-option-when-connecting
Feb 25, 2026
Merged

Remove wireless option when connecting to a drone#1006
1Blademaster merged 2 commits intomainfrom
996-task-remove-wireless-option-when-connecting

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

No description provided.

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

Removes the “wireless connection” toggle from the GCS-to-backend connection flow and simplifies the backend Drone connection API accordingly, including consolidating MAVLink datastream rate configuration and updating docs.

Changes:

  • Removed wireless from the socket payload/state (Redux slice, localStorage persistence, UI checkbox, and middleware emitters).
  • Updated backend connection endpoints and Drone constructor to drop the wireless parameter and always use a single datastream-rate map.
  • Updated backend architecture documentation to reflect the new Drone constructor / datastream configuration.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
radio/app/endpoints/comPorts.py Removes wireless from the connection payload type and from Drone(...) construction.
radio/app/endpoints/autopilot.py Stops persisting/restoring a removed drone.wireless attribute across reboot reconnects.
radio/app/drone.py Removes wireless argument/field and consolidates datastream rates into one constant.
gcs/src/redux/store.js Removes wireless preference persistence and cleans up imports.
gcs/src/redux/slices/droneConnectionSlice.js Removes wireless from Redux state/actions/selectors.
gcs/src/redux/middleware/socketMiddleware.js Removes wireless from emitted connect payload (e.g., SITL/network connect).
gcs/src/components/navbar.jsx Removes the wireless checkbox/UI and stops sending wireless in connect payload.
docs/BACKEND_ARCHITECTURE.md Updates docs for new Drone signature and datastream-rate constant.

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

Comment thread radio/app/endpoints/comPorts.py
Comment thread docs/BACKEND_ARCHITECTURE.md Outdated
@1Blademaster 1Blademaster merged commit 0cf5c62 into main Feb 25, 2026
8 checks passed
@1Blademaster 1Blademaster deleted the 996-task-remove-wireless-option-when-connecting branch February 25, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TASK] Remove wireless option when connecting

3 participants