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

Allow remapping of the canbus topics #39

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

Timple
Copy link
Contributor

@Timple Timple commented Dec 21, 2023

Our codebase expects a can/tx and can/rx notation. In ros1 we could simply remap in the node.

However launching a bridge nowadays seems to involve 227 lines of launching 😄.

We're rather not duplicate all those so kindly request to be able to set the topic via an argument.

@Timple Timple force-pushed the feature/remap-argument branch from 6a66a79 to 05e2f88 Compare December 21, 2023 07:35
@JWhitleyWork
Copy link
Collaborator

In-general, passing topic names as launch arguments is an anti-pattern but in this case, launch files to automatically transition LifeCycle nodes are (I feel) more complex than they need to be so I'm OK with it. Thanks!

@Timple
Copy link
Contributor Author

Timple commented Mar 22, 2024

Thank you for the approval. Subtle ping for the merge.

@JWhitleyWork
Copy link
Collaborator

@wep21 ?

@wep21
Copy link
Contributor

wep21 commented Mar 25, 2024

@mitsudome-r @xmfcx Could someone in awf take a look at this PR? I don't have the write access to this repository.

Copy link
Contributor

@xmfcx xmfcx left a comment

Choose a reason for hiding this comment

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

The changes look good. Shouldn't change the existing behavior and allows remappings to be changed from the main launch file.

@xmfcx xmfcx closed this Mar 25, 2024
@xmfcx xmfcx reopened this Mar 25, 2024
@xmfcx
Copy link
Contributor

xmfcx commented Mar 25, 2024

Closed-reopened to trigger bugged out CI.

@xmfcx xmfcx enabled auto-merge (squash) March 25, 2024 15:56
@xmfcx xmfcx merged commit cbbc123 into autowarefoundation:main Mar 25, 2024
4 of 6 checks passed
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.

4 participants