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

ROS 2 file generation macro #717

Merged
merged 6 commits into from
Oct 4, 2024

Conversation

olivier-stasse
Copy link
Member

This is a proposal to fix #716.
This PR introduces a new file ros2.cmake.
It provides a macro _install_project_ros2_ament_files to generate files for the ROS2 ament system.
This macro is called in setup_project_finalize() in base.cmake.
The generation works if the variable BUILDING_ROS2_PACKAGE is set (to TRUE
for instance).

pre-commit was run over the PR.
Tested against unittest.

Copy link
Collaborator

@nim65s nim65s left a comment

Choose a reason for hiding this comment

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

Can you add this new ros2.cmake file in CMakeLists.txt ?

@olivier-stasse
Copy link
Member Author

Can you add this new ros2.cmake file in CMakeLists.txt ?

Done. Thanks for the review @nim65s !

@olivier-stasse olivier-stasse merged commit 2f93eae into jrl-umi3218:master Oct 4, 2024
2 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.

ROS 2 file generation macro
2 participants