Skip to content

serial_panel: allow the serial panel to communicate on different ports not just the default - #140

Merged
joshanne merged 1 commit into
dronecan:masterfrom
joshanne:pr/serial-panel-target-device-selection
Aug 31, 2026
Merged

serial_panel: allow the serial panel to communicate on different ports not just the default#140
joshanne merged 1 commit into
dronecan:masterfrom
joshanne:pr/serial-panel-target-device-selection

Conversation

@joshanne

Copy link
Copy Markdown
Collaborator
image image

For most people using the serial panel, they most likely only require default, but I required a number of different ports that were otherwise not selectable without either source or parameter changes.

Copilot AI left a comment

Copy link
Copy Markdown

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 enhances the Serial Forwarding panel to let users choose which target serial/UART device to communicate with (instead of always using the default), improving flexibility for nodes exposing multiple serial ports.

Changes:

  • Added a “Target Serial” QComboBox to select the target serial device (Default / Serial 0–5).
  • Wired the selected target device into DroneCANSerial construction.
  • Added a callback intended to update the target device on an existing tunnel when the selection changes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread dronecan_gui_tool/panels/serial_panel.py Outdated
@joshanne
joshanne force-pushed the pr/serial-panel-target-device-selection branch from a1f53fb to e45e55a Compare August 27, 2026 01:33
@joshanne
joshanne merged commit 5301d2d into dronecan:master Aug 31, 2026
5 checks passed
@joshanne
joshanne deleted the pr/serial-panel-target-device-selection branch August 31, 2026 09:48
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.

3 participants