Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lcm] Hotfix for "Eschew LCM C++ API" #20137

Merged

Conversation

jwnimmer-tri
Copy link
Collaborator

@jwnimmer-tri jwnimmer-tri commented Sep 6, 2023

Previously, when multicast was disabled all operations printed a warning to the console and then did nothing. The prior commit changed that to throw an error instead, which was breaking.

Instead, let LCM still print the console warning but then instead of throwing provide an inert DrakeLcm instead.

Closes #20136.
Amends #20116.


This change is Reviewable

@jwnimmer-tri jwnimmer-tri added priority: high status: single reviewer ok https://drake.mit.edu/reviewable.html release notes: none This pull request should not be mentioned in the release notes labels Sep 6, 2023
Previously, when multicast was disabled all operations printed a
warning to the console and then did nothing.  The prior commit
changed that to throw an error instead, which was breaking.

Instead, let LCM still print the console warning but then instead
of throwing provide an inert DrakeLcm instead.
@RussTedrake
Copy link
Contributor

We still need someone to review the details, but I've confirmed that this resolves the failures I reported in #20116.

@xuchenhan-tri xuchenhan-tri self-assigned this Sep 6, 2023
Copy link
Contributor

@xuchenhan-tri xuchenhan-tri left a comment

Choose a reason for hiding this comment

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

+@xuchenhan-tri
:lgtm: x2

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignee xuchenhan-tri(platform)

@xuchenhan-tri xuchenhan-tri merged commit 3ad9a1b into RobotLocomotion:master Sep 6, 2023
1 check passed
@jwnimmer-tri jwnimmer-tri deleted the lcm-c-abi-hotfix branch September 6, 2023 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high release notes: none This pull request should not be mentioned in the release notes status: single reviewer ok https://drake.mit.edu/reviewable.html
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants