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

fix: refactor cmake project to deal with robot model dependencies #178

Merged
merged 8 commits into from
Apr 11, 2024

Conversation

domire8
Copy link
Member

@domire8 domire8 commented Apr 9, 2024

Description

This PR solves an issue where downstream projects had problems using the robot model library.
Thanks @LouisBrunner for the effort to clean this up!

Review guidelines

Estimated Time of Review: 5 minutes

Checklist before merging:

  • Confirm that the relevant changelog(s) are up-to-date in case of any user-facing changes

if (${_comp} STREQUAL "controllers" OR ${_comp} STREQUAL "robot_model")
# Find robot model dependencies if the corresponding component is needed
# FIXME: this should be done automatically
if (${_comp} STREQUAL "robot_model")
find_dependency(pinocchio)
Copy link
Member Author

Choose a reason for hiding this comment

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

Do we need hpp-fcl here?

Choose a reason for hiding this comment

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

Not sure. It built and ran correctly for me so I imagine pinocchio might be pulling it itself?

@domire8 domire8 requested review from eeberhard and yrh012 April 9, 2024 17:09
@domire8
Copy link
Member Author

domire8 commented Apr 9, 2024

I've tested in in a backend and it seems to do the job!

Copy link

@yrh012 yrh012 left a comment

Choose a reason for hiding this comment

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

Tested and looks great! Thank you

Copy link
Member

@eeberhard eeberhard left a comment

Choose a reason for hiding this comment

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

Thanks for all the efforts! I trust the issues have been resolved based on all of your testing.

@domire8 domire8 merged commit 16a56fa into develop Apr 11, 2024
5 checks passed
@domire8 domire8 deleted the fix/hpp branch April 11, 2024 12:21
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants