apply actual QoS from rmw to the IPC publisher.#2707
Conversation
|
@alsora i would like to request the review. |
clalancette
left a comment
There was a problem hiding this comment.
This is absolutely the right change, thanks for finding it @fujitatomoya . I left one thought inline.
rclcpp/include/rclcpp/publisher.hpp
Outdated
| (void)topic; | ||
| (void)qos; | ||
| (void)options; |
There was a problem hiding this comment.
Sigh. I'm wondering whether we should deprecate this API signature, and just reduce this to:
virtual
void
post_init_setup(rclcpp::node_interfaces::NodeBaseInterface * node_base);
As far as I can tell, there are no downstream users of this API, and just continually setting this to (void) seems useless to me. Thoughts?
There was a problem hiding this comment.
i am okay with that.
maybe we can refactor the following, but i would like to do that with another PR.
- introduce
intra_process_initnon-virtual function underPublisherandSubscriberclasses, and implement whatever needs to be setup for intra-process pub/sub. - deprecate
post_init_setupforPublisherandSubscriberclasses,Subscriberone is empty already. Or we can keep it for fully virtual function? so that user can override this to setup post process initialization?
|
Pulls: #2707 |
|
Pulls: #2707 |
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
94ba4a4 to
d3d745d
Compare
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
d3d745d to
9c4cdd0
Compare
|
Pulls: #2707 |
|
@Mergifyio backport humble jazzy |
✅ Backports have been createdDetails
|
* apply actual QoS from rmw to the IPC publisher. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> * address uncrustify warning. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit 016cfea) # Conflicts: # rclcpp/include/rclcpp/publisher.hpp
* apply actual QoS from rmw to the IPC publisher. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> * address uncrustify warning. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit 016cfea)
* apply actual QoS from rmw to the IPC publisher. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> * address uncrustify warning. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit 016cfea) Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
* apply actual QoS from rmw to the IPC publisher. (#2707) * apply actual QoS from rmw to the IPC publisher. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> * address uncrustify warning. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit 016cfea) # Conflicts: # rclcpp/include/rclcpp/publisher.hpp * resolve conflicts for backport humble. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> * address uncrustify failure. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
closes #2705
note: backport required to jazzy and humble.