-
Notifications
You must be signed in to change notification settings - Fork 42
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
Revert "Revert "Decouple rosout publisher init from node init. (#351)… #392
base: rolling
Are you sure you want to change the base?
Revert "Revert "Decouple rosout publisher init from node init. (#351)… #392
Conversation
depends on ros2/rcl#1065 |
/assign @fujitatomoya |
6361d08
to
226387e
Compare
@JanStaschulat if you have time take a look at this? thanks in advance. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## rolling #392 +/- ##
===========================================
- Coverage 69.65% 69.42% -0.24%
===========================================
Files 16 16
Lines 2762 2770 +8
Branches 766 771 +5
===========================================
- Hits 1924 1923 -1
- Misses 453 459 +6
- Partials 385 388 +3
☔ View full report in Codecov by Sentry. |
CI: see ros2/rcl#1065 (comment) why windows is excluded. |
@JanStaschulat this is good to go, requesting review on this. thanks in advance. |
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.
In my opinion, the init and fini method are unsymmetric regarding RCLC library:
- The
rcl_logging_rosout_init_publisher_for_node
is called inside rclc library, but - the
rcl_logging_rosout_fini_publisher_for_node
needs to be called by the user.
All the unit test code and the example code had to be updated. All existing rclc applications would have to be updated as well. That's not ideal.
I expect, this could lead to in-complete applications. Users will simply forget to call rcl_logging_rosout_fini_publisher_for_node
.
I would suggest, to either call the rcl_logging_rosout_fini_publisher_for_node
in RCL's rcl_node_fini
method or we have to create a new rclc_node_fini
method in RCLC library, to hide this function call from the user.
@fujitatomoya @iuhilnehc-ynos What do you think?
this has been separated to address the issue ros2/rclcpp#2147,
i would take this path so that we can have the same design aligned with |
@fujitatomoya What is the status of this pull request? Can it be merged? |
@JanStaschulat i will check and rebase. |
)" (ros2#352)" This reverts commit 2648503. Signed-off-by: Tomoya Fujita <[email protected]>
Signed-off-by: Tomoya Fujita <[email protected]>
Signed-off-by: Tomoya Fujita <[email protected]>
Signed-off-by: Tomoya Fujita <[email protected]>
5cf0040
to
9af12ed
Compare
I need to create |
…" (#352)"
This reverts commit 2648503.