Skip to content

Use get_package_share_path#391

Merged
ahcorde merged 2 commits intorollingfrom
ahcorde/rolling/get_package_share_path
Feb 25, 2026
Merged

Use get_package_share_path#391
ahcorde merged 2 commits intorollingfrom
ahcorde/rolling/get_package_share_path

Conversation

@ahcorde
Copy link
Copy Markdown
Collaborator

@ahcorde ahcorde commented Feb 24, 2026

Related with ament/ament_index#112

FYI @Timple

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde
Copy link
Copy Markdown
Collaborator Author

ahcorde commented Feb 24, 2026

Pulls: ament/ament_index#112, ros2/rmw_zenoh#913, ros2/rviz#1671, ros/resource_retriever#119, ros/ros_tutorials#193, #391
Gist: https://gist.githubusercontent.com/ahcorde/4443a34cc7425a61b630b0ea7761d778/raw/ee918bf6abee19d2c84b4f3502bc35f27436183a/ros2.repos
BUILD args: --packages-above-and-dependencies ament_index_cpp
TEST args: --packages-above ament_index_cpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/18300

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Comment on lines +182 to +183
std::filesystem::path pkgPath;
ament_index_cpp::get_package_share_directory(package, pkgPath);
ament_index_cpp::get_package_share_path(package);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't this look like this?

Suggested change
std::filesystem::path pkgPath;
ament_index_cpp::get_package_share_directory(package, pkgPath);
ament_index_cpp::get_package_share_path(package);
std::filesystem::path pkgPath = ament_index_cpp::get_package_share_path(package);

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde
Copy link
Copy Markdown
Collaborator Author

ahcorde commented Feb 24, 2026

Pulls: ament/ament_index#112, ros2/rmw_zenoh#913, ros2/rviz#1671, ros/resource_retriever#119, ros/ros_tutorials#193, #391
Gist: https://gist.githubusercontent.com/ahcorde/fbb27b2127b62cdf0c2dea03ea0b3fec/raw/ee918bf6abee19d2c84b4f3502bc35f27436183a/ros2.repos
BUILD args: --packages-above-and-dependencies ament_index_cpp
TEST args: --packages-above ament_index_cpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/18301

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@ahcorde ahcorde merged commit b9df4e4 into rolling Feb 25, 2026
1 of 2 checks passed
@ahcorde ahcorde deleted the ahcorde/rolling/get_package_share_path branch February 25, 2026 09:53
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.

3 participants