Skip to content

fix: added generated bindings for ROS Humble, Jazzy, Kilted and Rolling #512

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

Merged
merged 7 commits into from
Aug 18, 2025

Conversation

esteve
Copy link
Collaborator

@esteve esteve commented Aug 16, 2025

This PR adds generated bindings for Humble, Jazzy, Kilted and Rolling to the source tree.

It also adds a workflow job that generates the bindings on demand and daily, and opens a PR with the changes.

esteve added 4 commits August 17, 2025 01:06
…ings in build.rs. Added GitHub workflow to update the generated bindings every night

Signed-off-by: Esteve Fernandez <[email protected]>
@esteve esteve marked this pull request as ready for review August 17, 2025 13:28
@esteve esteve changed the title fix: added generated bindings for ROS Humble and Jazzy fix: added generated bindings for ROS Humble, Jazzy, Kilted and Rolling Aug 17, 2025
@esteve esteve requested review from maspe36 and jhdcs August 17, 2025 15:11
Signed-off-by: Esteve Fernandez <[email protected]>
Copy link
Collaborator

Choose a reason for hiding this comment

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

There seems to be a fair amount being removed from the build script. Is this functionality no longer needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've removed the code that generates the bindings from the build.rs script and moved it to the CI, that way there's only one source of truth for the bindings and they'll be the same for everyone who uses rclrs. If anyone wants to generate the bindings locally, they can use the generate_bindings.py script.

Copy link
Collaborator

@maspe36 maspe36 left a comment

Choose a reason for hiding this comment

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

LGTM

@esteve esteve merged commit 5696315 into ros2-rust:main Aug 18, 2025
9 checks passed
@esteve esteve deleted the add-missing-symbols-shim branch August 18, 2025 15:09
Comment on lines +5 to +8
# Run the CI at 02:22 UTC every Tuesday
# We pick an arbitrary time outside of most of the world's work hours
# to minimize the likelihood of running alongside a heavy workload.
- cron: '22 2 * * 2'
Copy link
Contributor

Choose a reason for hiding this comment

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

The PR description says this will run daily, but this looks like it's actually weekly. Is that intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch, I've submitted #515 to fix that

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