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

[Launch] Pass along data to launch py_binary #45

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

beekarthik
Copy link
Contributor

In the cases of having launch files that include other launch files or launch file that read a params.yaml (via the tag) the py_binary seems to need access to these files at runtime. I tried making it a data dependency but bazel reported an error.

Traced it down to data being both in kwargs and passed in locally. Would like to check this in to enable others to also make full use of the launch file syntax

Don't think we need the same pattern for deps because deps will only ever be whatever is demanded by the launch.py.tpl file

Copy link
Owner

@mvukov mvukov left a comment

Choose a reason for hiding this comment

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

Good catch. I left a small comment.

ros/launch.bzl Outdated Show resolved Hide resolved
@beekarthik beekarthik requested a review from mvukov August 26, 2024 18:00
@mvukov mvukov enabled auto-merge (squash) August 29, 2024 19:48
@mvukov mvukov merged commit ea29d20 into mvukov:main Aug 29, 2024
4 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.

2 participants