Revert "Revert "Decouple rosout publisher init from node init. (#351)…#392
Revert "Revert "Decouple rosout publisher init from node init. (#351)…#392fujitatomoya wants to merge 4 commits intoros2:rollingfrom
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.
In my opinion, the init and fini method are unsymmetric regarding RCLC library:
- The
rcl_logging_rosout_init_publisher_for_nodeis called inside rclc library, but - the
rcl_logging_rosout_fini_publisher_for_nodeneeds 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. |
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
5cf0040 to
9af12ed
Compare
|
I need to create |
…" (#352)"
This reverts commit 2648503.