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

[bazel_ros2_rules] Allow specifying the RMW implementation at the WORKSPACE level #280

Open
sloretz opened this issue May 30, 2023 · 0 comments

Comments

@sloretz
Copy link
Collaborator

sloretz commented May 30, 2023

The goal of this ticket is to allow specifying the RMW implementation for a project in only one place. Currently the only way to specify the RMW implementation is to do so on every ros_* rule.

Should work when using a local repository

ros2_local_repository(
    name = "ros2",
    rmw_implementation="rmw_cyclonedds_cpp",
    ...
)

Or when using an archive:

ros2_archive(
    name = "ros2",
    rmw_implementation="rmw_cyclonedds_cpp",
    ...
)

Context: #278


One way to implement this would be:

I'm pretty sure this would allow ros_cc_binary(rmw_implementation="..." to override the default, but would need to test to actually be sure.

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

No branches or pull requests

1 participant