Skip to content

Add the Cygnus thickness gauge on an RS232 converting connector - #283

Merged
follesoe merged 1 commit into
masterfrom
follesoe/cygnus-rs232-connector
Aug 5, 2026
Merged

Add the Cygnus thickness gauge on an RS232 converting connector#283
follesoe merged 1 commit into
masterfrom
follesoe/cygnus-rs232-connector

Conversation

@follesoe

@follesoe follesoe commented Aug 5, 2026

Copy link
Copy Markdown
Member

Adds GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 = 49.

Why

The X7 carries no RS485 on any port. Devices that need it reach the drone through a guest port connector holding a converter chip, so they present as RS232.

To the drone these are genuinely different devices: the original fits only a port wired for RS485, while one on a converting connector fits any port with RS232. Since compatibility is computed from the interfaces a device requires, the two need separate identifiers — the connector is flashed with one or the other, and that is what tells the drone which it is dealing with.

The practical consequence is that an existing RS485 gauge on an X7 now resolves to no compatible port at all, which the app already reports as a device that cannot be used on that drone. That is the intended answer, and it arrives without any new code.

Naming

Named for the interface it presents rather than as a revision. The instrument itself is unchanged — our connector is what differs — so a "v2" would misdescribe it and collide should Cygnus ever ship one. Naming by interface also matches what the compatibility model reasons about, so the entry explains itself. The converter is referred to as a coin internally; that is in the comment rather than the enum, which SDK users see.

Downstream

peripherals.json in libguestport gains the matching entry, requiring RS232, and its port table drops RS485 from the X7: BluEye-Robotics/libguestport#385. The app needs this package published before it can map the new identifier, since a device it cannot name is silently ignored.

🤖 Generated with Claude Code

The X7 carries no RS485 on any port. Devices needing it reach the drone
through a connector holding a converter, so they present as RS232, and a
gauge on such a connector is a different thing to the drone than one
wired straight through: it fits any port with RS232, where the original
fits only a port with RS485.

Named for the interface it presents rather than as a revision, since the
instrument is unchanged and naming it by interface is what the
compatibility model reasons about.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@follesoe follesoe added enhancement New feature or request new message New message definition labels Aug 5, 2026
@follesoe follesoe self-assigned this Aug 5, 2026
@follesoe
follesoe requested a review from jp-pino August 5, 2026 10:29
@follesoe follesoe added this to the Blunux v5.1 milestone Aug 5, 2026
@follesoe
follesoe merged commit 3db9000 into master Aug 5, 2026
4 checks passed
@follesoe
follesoe deleted the follesoe/cygnus-rs232-connector branch August 5, 2026 10:30
@follesoe
follesoe requested a lite review from Copilot August 5, 2026 10:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new guest port device identifier to the protocol definitions to distinguish the Cygnus Mini ROV Thickness Gauge when it is presented to the drone as RS232 via an RS485→RS232 converting connector (relevant for drones like the X7 that lack RS485).

Changes:

  • Added GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 = 49 to GuestPortDeviceID.
  • Documented the rationale in adjacent comments to clarify the RS485→RS232 connector context.

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

GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER = 48; // Blueye Scaling Laser.
// Cygnus Mini ROV Thickness Gauge on a connector that converts its RS485 to
// RS232, letting it be used on drones with no RS485, such as the X7.
GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 = 49;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request new message New message definition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants