fix(hardware): transport adapters follow the active pub/sub backend - #4070
Merged
Merged
Conversation
Since Zenoh became the default (#3617), blueprint-pinned LCMTransports are coerced to Zenoh, but the transport_lcm twist and whole-body adapters still built raw LCMTransports. The coordinator published cmd_vel on LCM while GO2Connection listened on Zenoh, so the Go2 ignored every command with no error; G1 has the same split. Both adapters now default to make_transport, which R1 Pro had already opted into per blueprint.
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## main #4070 +/- ##
==========================================
+ Coverage 78.18% 78.57% +0.38%
==========================================
Files 1436 1460 +24
Lines 135802 138221 +2419
Branches 11738 12709 +971
==========================================
+ Hits 106176 108605 +2429
+ Misses 26309 26268 -41
- Partials 3317 3348 +31
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 173 files with indirect coverage changes 🚀 New features to boost your workflow:
|
mustafab0
marked this pull request as ready for review
September 11, 2026 02:35
mustafab0
requested review from
Dreamsorcerer,
aclauer,
leshy,
paul-nechifor and
spomichter
as code owners
September 11, 2026 02:35
mustafab0
enabled auto-merge
September 11, 2026 02:35
Contributor
|
paul-nechifor
approved these changes
Sep 12, 2026
Contributor
|
Successfully created backport PR for |
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.
Since #3617 made Zenoh the default,
_coerce_transport_to_backendrewrites blueprint-pinnedLCMTransports to Zenoh, but thetransport_lcmtwist and whole-body adapters built rawLCMTransports themselves.So the coordinator sent
/go2/cmd_velover LCM whileGO2Connectionlistened on Zenoh, and odom was split the other way: the Go2 ignored every teleop and path command without any error.Both adapters now default to
make_transport, so they follow the global backend the same way the driver side does. R1 Pro had already opted into that per blueprint, so its override goes. The G1 coordinator had the same split.Checked with a Zenoh round trip between the adapter and a coerced driver-side transport; tested on hardware.