-
Notifications
You must be signed in to change notification settings - Fork 433
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
Fix transient local IPC publish #2708
Fix transient local IPC publish #2708
Conversation
2c2158e
to
d3e5e9c
Compare
17b043d
to
d7578fc
Compare
Thank you @jefferyyjhsu ! CI |
@jefferyyjhsu thanks for fixing. it looks some errors came up with CI, could you also check those? |
@fujitatomoya and @alsora
|
hm... it does not ring a bell for me. @alsora any thoughts?
this should be unrelated. because you are using ros2/rmw_fastrtps@8fd6f3c, without it, the test should fail. after all, to avoid this package dependencies, i suggest that full source build with your rclcpp package branch, https://docs.ros.org/en/rolling/Installation/Alternatives/Ubuntu-Development-Setup.html |
Yes, you definitely need to spin for things to work. My suggestion is that you create an executor and spin right after setting up the subscription callbacks (and make sure to use |
Yes, as others have said, you will need to create an executor and spin. To expand on what others have said, you can:
I would expect this test to fail 100% of the times with the current code. |
…ns are both present. Signed-off-by: Jeffery Hsu <jefferyyjhsu@gmail.com>
Signed-off-by: Jeffery Hsu <jefferyyjhsu@gmail.com>
Signed-off-by: Jeffery Hsu <jefferyyjhsu@gmail.com>
Signed-off-by: Jeffery Hsu <jefferyyjhsu@gmail.com>
d58c575
to
8a49985
Compare
…st case to enable inter process publishing test Signed-off-by: Jeffery Hsu <jefferyyjhsu@gmail.com>
8a49985
to
3fd1ea4
Compare
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> Signed-off-by: Jeffery Hsu <jefferyyjhsu@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with green CI
Pulls: #2708 |
@jefferyyjhsu @fujitatomoya should this be backported to Jazzy? Seems important and I don't see any ABI/API issues |
@Mergifyio backport jazzy |
✅ Backports have been created
|
* Fix transient local publish when inter and intra process communications are both present. * Apply the fix to TypeAdapted signature * Add an executor to intra_process_inter_process_mix_transient_local test case to enable inter process publishing test Signed-off-by: Jeffery Hsu <jefferyyjhsu@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit f5e08c2)
* Fix transient local publish when inter and intra process communications are both present. * Apply the fix to TypeAdapted signature * Add an executor to intra_process_inter_process_mix_transient_local test case to enable inter process publishing test Signed-off-by: Jeffery Hsu <jefferyyjhsu@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit f5e08c2) Co-authored-by: Jeffery Hsu <jefferyyjhsu@gmail.com>
Signed-off-by: Jeffery Hsu jefferyyjhsu@gmail.com
Fix transient local publish when inter and intra process communications are both present described in #2704.
Add a new test case for transient local publish mixing communication types.