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

Export all dependencies #183

Merged
merged 1 commit into from
Feb 27, 2023
Merged

Export all dependencies #183

merged 1 commit into from
Feb 27, 2023

Conversation

AdrianZw
Copy link
Contributor

While writing a specialized Hardware Interface for our robot, I realized that my library has compilation errors, if I do not find_package the Gazebo library. This is when I realized that only ament_cmake and rclcpp are currently exported. I took the liberty to export all dependencies currently find_packaged.

See also the Ament-CMake-Documentation :

The ament_export_dependencies exports dependencies to downstream packages. This is necessary so that the user of the library does not have to call find_package for those dependencies.

Should it be possible for other user to inherit from GazeboSystemInterface to create their custom interfaces?
If yes, I guess we should export all the dependencies, or am I mistaken here?

The ament_export_dependencies exports dependencies to downstream
packages. This is necessary so that the user of the library does
not have to call find_package for those dependencies.
@ahcorde ahcorde merged commit 47255ae into ros-controls:humble Feb 27, 2023
@bmagyar
Copy link
Member

bmagyar commented Feb 27, 2023

@Mergifyio backport master

@mergify
Copy link
Contributor

mergify bot commented Feb 27, 2023

backport master

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Feb 27, 2023
The ament_export_dependencies exports dependencies to downstream
packages. This is necessary so that the user of the library does
not have to call find_package for those dependencies.

(cherry picked from commit 47255ae)
ahcorde added a commit that referenced this pull request May 16, 2023
The ament_export_dependencies exports dependencies to downstream
packages. This is necessary so that the user of the library does
not have to call find_package for those dependencies.

(cherry picked from commit 47255ae)

Co-authored-by: Adrian Zwiener <a.zwiener@rethinkrobotics.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
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.

None yet

3 participants