Skip to content

[kilted] Expose typesupport_helpers API needed for the Rosbag2 (backport #2858)#2901

Merged
MichaelOrlov merged 1 commit intokiltedfrom
mergify/bp/kilted/pr-2858
Jul 14, 2025
Merged

[kilted] Expose typesupport_helpers API needed for the Rosbag2 (backport #2858)#2901
MichaelOrlov merged 1 commit intokiltedfrom
mergify/bp/kilted/pr-2858

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Jul 10, 2025

Description

  • This PR exposes extract_type_identifier(const std::string & full_type) and get_typesupport_library_path( const std::string & package_name, const std::string & typesupport_identifier) API to be publicly available for usage from other packages.

Rationale:

  • In Rosbag2 we need to use extract_type_identifier(const std::string & full_type) and get_typesupport_library_path( const std::string & package_name, const std::string & typesupport_identifier) API from the RCLCPP package in order to get rid of the code duplication and possible implementation divergences in the future for the same utility functions.
    Please refer to the relevant Rosbag2 PR Use rclcpp type support helpers in rosbag2_cpp rosbag2#2017

Fixes # (issue) N/A

Is this user-facing behavior change?

No.

Did you use Generative AI?

Yes. Github Copilot, GPT-4.1, to help write Doxygen comments for the API.

Additional Information


This is an automatic backport of pull request #2858 done by [Mergify](https://mergify.com).

* Expose extract_type_identifier and get_typesupport_library_path API

- Rationale: We need to use this API in the Rosbag2
- Reference PR ros2/rosbag2#2017 in the Rosbag2

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>

* Use C++ style in doxygen documentation

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>

---------

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
(cherry picked from commit 448287b)
@MichaelOrlov MichaelOrlov changed the title Expose typesupport_helpers API needed for the Rosbag2 (backport #2858) [kilted] Expose typesupport_helpers API needed for the Rosbag2 (backport #2858) Jul 10, 2025
@MichaelOrlov
Copy link
Copy Markdown
Contributor

Pulls: #2901
Gist: https://gist.githubusercontent.com/MichaelOrlov/f1c785e079e229372df20bbe440d08f9/raw/cf5dcfe09dc652cfb65863a0bc0ba6f44d68e952/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp
TEST args: --packages-above rclcpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/16460

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

@MichaelOrlov
Copy link
Copy Markdown
Contributor

Pulls: #2901
Gist: https://gist.githubusercontent.com/MichaelOrlov/72b57ef4a4e6d840ce8c0557587b9d5c/raw/fc6ee6bb296a44aadd86f58b9e055bff05289404/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp
TEST args: --packages-above rclcpp
ROS Distro: kilted
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/16476

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

@MichaelOrlov MichaelOrlov merged commit 7cba3c4 into kilted Jul 14, 2025
2 of 3 checks passed
@MichaelOrlov MichaelOrlov deleted the mergify/bp/kilted/pr-2858 branch July 14, 2025 06:17
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.

1 participant