Add TypeObject V2 tests to Connext RMW, fix initialization of Connext type plugins #253
@fujitatomoya can you launch a validation for these changes?
Undo this change as in 998325f39a62dccdc0722968b3711748765c659c. Otherwise we break Windows.
This is needed to early break once we find the type.
As we are removing the listener from the reader (reader.set_listener(nullptr);) once the type is found, we don't really need to check this anymore. It doesn't do any harm, but just to keep it in mind.
Use rcutils_set_env instead for both setting and unsetting environmetn variables. Apply in other places.
Requested changes.
Fair, I will leave it in case we change this logic in the future
Approved these changes.
Pulls: ros2/rmw_connextdds#253
Gist: https://gist.githubusercontent.com/ahcorde/3e30a6c68e43741b19c1a6cb86cb1cb8/raw/dcf90e31c99a028310855889ec9250465d82c4a3/ros2.repos
BUILD args: --packages-above-and-dependencies rmw_connextdds rmw_connextdds_common
TEST args: --packages-above rmw_connextdds rmw_connextdds_common
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/20333
Linux 
Linux-aarch64 
Linux-rhel 
Windows 
lgtm with green CI.
@ahcorde I added the fix for the formatting, which should not affect the new CI build
@ahcorde the test failures don't seem related to the Connext RMW. Also, I fixed the formatting issue and checked locally it is correct. I think we can merge this.
Approved these changes.
should we backport this one ?
Not really, as we would also have to backport https://github.com/ros2/rmw_connextdds/pull/247, and it is not necessary.
fgallegosalido
oliviadorenczrti
Description
Adds tests to test send/receive using TypeObject V2 between Connext participant and ROS participants.
Fix initialization issue where
isRecursiveTypewas never set in the type plugin, causing undefined behavior when using TypeObject V2.Is this user-facing behavior change?
No
Did you use Generative AI?
Yes: GitHub Copilot + Opus 4.6
Additional Information