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

[jazzy] Bugfix for rosbag2_cpp serialization converter (backport #1814) #1822

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Sep 25, 2024


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

* Bugfix for rosbag2 serialization converter

- Use rmw specific type support for rmw_serilize{deserialize} function
calls.
Note: It is ok for CycloneDDS to use introspection type support for
rmw_serilize{deserialize} functions. However, for FastRTPS it must be
rmw specific type support. e.g. rosidl_typesupport_cpp. Fix works for
both CycloneDDS and FastRTPS rmw.

Signed-off-by: Michael Orlov <[email protected]>

* Add test coverage for default rmv serialization format converter

Signed-off-by: Michael Orlov <[email protected]>

* Run test_serialization_converter for each rmw implementation

- Rationale: To make sure that the default serialization converter can
serialize and deserialize messages with all supported rmw
implementations. Since it uses rmw specific functions for serialization
and deserialization inside.

Signed-off-by: Michael Orlov <[email protected]>

* Address uncrustify formating warnings

Signed-off-by: Michael Orlov <[email protected]>

* Enable sanitizer by default

Signed-off-by: Michael Orlov <[email protected]>

* Address Windows build warnings

Signed-off-by: Michael Orlov <[email protected]>

* Revert "Enable sanitizer by default"

This reverts commit 7241963.

Signed-off-by: Michael Orlov <[email protected]>

---------

Signed-off-by: Michael Orlov <[email protected]>
(cherry picked from commit 6e82f52)
@mergify mergify bot requested a review from a team as a code owner September 25, 2024 20:02
@mergify mergify bot requested review from gbiggs and james-rms and removed request for a team September 25, 2024 20:02
@MichaelOrlov MichaelOrlov changed the title Bugfix for rosbag2_cpp serialization converter (backport #1814) [jazzy] Bugfix for rosbag2_cpp serialization converter (backport #1814) Sep 25, 2024
@MichaelOrlov MichaelOrlov requested review from MichaelOrlov and removed request for gbiggs September 25, 2024 20:56
Copy link
Contributor

@MichaelOrlov MichaelOrlov left a comment

Choose a reason for hiding this comment

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

The changes in the PR are ABI/API compatible because we moved RMWImplementedConverter class declaration from the src folder to the include folder and made it publicly available in the dll.
This is equivalent to adding a new class to the dll.
According to the https://acodersjourney.com/20-abi-breaking-changes/ - this is an ABI compatible changes.

@MichaelOrlov
Copy link
Contributor

Pulls: #1822
Gist: https://gist.githubusercontent.com/MichaelOrlov/a2f0bc1eef71c8de8b5357c0271bbc31/raw/a9f125b619c66e05918bf2cb6aed279c919d33fc/ros2.repos
BUILD args: --packages-above-and-dependencies rosbag2_cpp
TEST args: --packages-above rosbag2_cpp
ROS Distro: jazzy
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14618

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

@MichaelOrlov MichaelOrlov merged commit 95ae5e6 into jazzy Sep 26, 2024
12 checks passed
@MichaelOrlov MichaelOrlov deleted the mergify/bp/jazzy/pr-1814 branch September 26, 2024 03:34
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