Enable TransformListener node-based constructor in Intra-process enabled components#572
Enable TransformListener node-based constructor in Intra-process enabled components#572clalancette merged 8 commits intoros2:rollingfrom
Conversation
|
I'm running into a similar issue like #571, but with a StaticTransformBroadcaster. Maybe this PR can be extended for the StaticTransformBroadcaster and TransformBroadcaster? |
|
@FranzAlbers so you compose a StaticTransformBroadcaster and it doesn't work when intra_process_Comms are enabled via component param? EDIT: since I will probably try to compose some StaticTransformBroadcaster in my launchers, additional feedback from you could help me fix the problem you are mentioning. |
|
@roncapat I want to compose a node with my camera driver, This works fine for my camera driver and the However, I quickly tried this myself by setting |
|
Ok, I will check also that. Seems a simple job, like what already included in this PR. |
|
After cleaning and rebuilding the I think editing |
|
@clalancette is there anything I should do to improve the PR? |
Can you please add in a test to show that this fixes the problem? |
|
Of course, I'll try (and write back if not able to figure out how to do it properly). |
cc081d5 to
e3d3981
Compare
|
@clalancette I force-pushed a commit with a new test triggering the issue with intraprocess enabled. So that:
Hope this covers your request :) |
clalancette
left a comment
There was a problem hiding this comment.
Can you please retarget this to the rolling branch? Once we have it in there, we can consider backporting to humble. Thanks.
|
@clalancette yes (did a mess now with github portal trying to switch base branch...). During weekend I'll do the proper moves/rebase sorry :) |
|
What's the difference between Hpr and Rpr build? Anyway, I rebased on rolling :) |
Yes, exactly. There is some bug here where if you change branches, it still tries to build on the old branch. So that's why the Hpr job is failing, but we can ignore that. |
clalancette
left a comment
There was a problem hiding this comment.
One more small thing to fix, then I think this is ready for CI.
clalancette
left a comment
There was a problem hiding this comment.
(trailing whitespace makes uncrustify unhappy)
We are getting closer.
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
clalancette
left a comment
There was a problem hiding this comment.
(it's probably best if you run colcon test --packages-select tf2_ros before submitting again)
|
Checked offline, this should be the last lint fix! |
Fixes #571
With this patch, TransformListener can be constructed using existing node references, when those nodes are in fact Intra-Process Enabled C++ ROS2 Components.
Intra-process communication is disabled per-subscription.