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

Update CatkinResourceRetriever to use ROS Package Framework #608

Open
egordon opened this issue Sep 15, 2021 · 0 comments
Open

Update CatkinResourceRetriever to use ROS Package Framework #608

egordon opened this issue Sep 15, 2021 · 0 comments

Comments

@egordon
Copy link
Contributor

egordon commented Sep 15, 2021

Currently, CatkinResourceRetriever builds up the list of packages from scratch using environment variables (e.g. CMAKE_PREFIX_PATH).

This takes a while. But ROS already has a built-in way to resolve packages: https://wiki.ros.org/Packages

Ideally, we can modify CatkinResourceRetriever (or create a new RosResourceRetriever if we insist on keeping ros deps separate) to lazily check for package resolution when a resource is requested (and optionally cache the resolution so we minimize calls to rospack, though my guess is calls to rospack will be fast enough that this won't be necessary) rather than building it beforehand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant