Skip to content

Moved the route parameter on CuBridge to optional#499

Merged
gbin merged 3 commits into
masterfrom
gbin/optional_route
Nov 13, 2025
Merged

Moved the route parameter on CuBridge to optional#499
gbin merged 3 commits into
masterfrom
gbin/optional_route

Conversation

@gbin

@gbin gbin commented Nov 13, 2025

Copy link
Copy Markdown
Collaborator

lots of bridges do have a natural ID -> Route map and suddenly this mandatory route parameted make them stutturing

for example an AIO ESC have 4 motors, you cannot route anything but the API was forcing you to add a random string to it.

This will be followed by some helper to generate more complex bridges like middleware ones where the user needs to generate it at the last minute with all the types they want to expose to each ID.

lots of bridges do have a natural ID -> Route map and suddenly this
mandatory route parameted make them stutturing

for example an AIO ESC have 4 motors, you cannot route anything but the
API was forcing you to add a random string to it.

This will be followed by some helper to generate more complex bridges
like middleware ones where the user needs to generate it at the last
minute with all the types they want to expose to each ID.
Comment thread core/cu29_runtime/src/cubridge.rs Outdated
}

/// Backward-compatibility helper for older code; prefer [`BridgeChannel::with_channel`].
#[deprecated(since = "0.11.0", note = "Use BridgeChannel::with_channel instead")]

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

yolo ai coded, this needs to go

@gbin gbin merged commit a137f31 into master Nov 13, 2025
7 checks passed
@gbin gbin deleted the gbin/optional_route branch November 13, 2025 17:55
gbin added a commit that referenced this pull request Nov 13, 2025
* Moved route on cubridges to optional

lots of bridges do have a natural ID -> Route map and suddenly this
mandatory route parameted make them stutturing

for example an AIO ESC have 4 motors, you cannot route anything but the
API was forcing you to add a random string to it.

This will be followed by some helper to generate more complex bridges
like middleware ones where the user needs to generate it at the last
minute with all the types they want to expose to each ID.

* removing some AI stupidity

* Mopping up dumb errors from CI.
gbin added a commit that referenced this pull request Nov 18, 2025
* Adding a basic ELRS/CRSF bridge.

This is again useful in the drone space to send telemetry or remote
control over the waves at long distance (up to the curvature of the
earth in line of sight)

* snafu in pure copper logging.

* Moved route on cubridges to optional

lots of bridges do have a natural ID -> Route map and suddenly this
mandatory route parameted make them stutturing

for example an AIO ESC have 4 motors, you cannot route anything but the
API was forcing you to add a random string to it.

This will be followed by some helper to generate more complex bridges
like middleware ones where the user needs to generate it at the last
minute with all the types they want to expose to each ID.

* Bunch of quality of life improvements for CuBridges

* merge snafu

* missing a spot on baremetal

* Fix for id case handling mismatched between the 2 macros

* Moved the route parameter on CuBridge to optional (#499)

* Moved route on cubridges to optional

lots of bridges do have a natural ID -> Route map and suddenly this
mandatory route parameted make them stutturing

for example an AIO ESC have 4 motors, you cannot route anything but the
API was forcing you to add a random string to it.

This will be followed by some helper to generate more complex bridges
like middleware ones where the user needs to generate it at the last
minute with all the types they want to expose to each ID.

* removing some AI stupidity

* Mopping up dumb errors from CI.

* Moved route on cubridges to optional

lots of bridges do have a natural ID -> Route map and suddenly this
mandatory route parameted make them stutturing

for example an AIO ESC have 4 motors, you cannot route anything but the
API was forcing you to add a random string to it.

This will be followed by some helper to generate more complex bridges
like middleware ones where the user needs to generate it at the last
minute with all the types they want to expose to each ID.

* Bunch of quality of life improvements for CuBridges

* merge snafu

* missing a spot on baremetal

* Fix for id case handling mismatched between the 2 macros

* WIP

* fixes with new API

* pass integrating to the bdshot demo

* Should be a good base for an end to end demo with elrs

* renaming of crates

* fix dep versions

* missed a CI spot for embedded

* dep cleanup
@makeecat makeecat added the enhancement New feature or request label Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants