-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Include underlay source folder in rosdep path #2025
Conversation
As OMPL isn't yet registering properly with the ament index for ros2 and searching all of << parameters.underlay >>/install will stall rosdep when searching entire $ROS_WS/install folder
dependencies=$( | ||
rosdep install -q -y \ | ||
--from-paths src \ | ||
$underlay_ws \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make sure I understand this, this is saying if we're in the overlay workspace, include the underlay workspace in the rosdep install command? Is that because when it runs with both sources, it combines them and views this as within the same list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep. The --from-paths
is to specify a list of paths to recursively search for package.xml
files. With pwd
being the overlay workspace, we just add the absolute path to the underlay source folder to ensure we find any packages that are missing from the ament index we sourced:
This patch isn't very formulaic, as it can't really recursively scale, e.g. if a package fails to install itself correctly in your underlay's underlay, your SOL; vs. ament index that recursively daisy chains for us.
Recursively searching paths in python is also slow, and seems to stall on the ros install folder.
Codecov Report
@@ Coverage Diff @@
## main #2025 +/- ##
=======================================
Coverage ? 85.01%
=======================================
Files ? 294
Lines ? 15011
Branches ? 0
=======================================
Hits ? 12762
Misses ? 2249
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Now that ompl/ompl#753 is fixed This reverts commit 13c878b.
now that ompl issue is resolved ompl/ompl#753
now that ompl issue is resolved ompl/ompl#753
now that ompl issue is resolved ompl/ompl#753
now that ompl issue is resolved ompl/ompl#753
* Revert to testing image for CI * Use ompl from testing repo and modify Dockerfile to account for empty underlay * Clean up RUN directive for caching * Revert #2025 now that ompl issue is resolved ompl/ompl#753 * Continue checkout if ccache doesn't yet exist
As OMPL isn't yet registering properly with the ament index for ros2 and searching all of << parameters.underlay >>/install will stall rosdep when searching entire $ROS_WS/install folder
* Revert to testing image for CI * Use ompl from testing repo and modify Dockerfile to account for empty underlay * Clean up RUN directive for caching * Revert ros-navigation#2025 now that ompl issue is resolved ompl/ompl#753 * Continue checkout if ccache doesn't yet exist
As OMPL isn't yet registering properly with the ament index for ros2
and searching all of << parameters.underlay >>/install will stall rosdep
when searching entire $ROS_WS/install folder
Related: #2021 (comment)