-
Notifications
You must be signed in to change notification settings - Fork 427
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
apply actual QoS from rmw to the IPC publisher. #2707
base: rolling
Are you sure you want to change the base?
Conversation
@alsora i would like to request the review. |
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i am okay with that.
maybe we can refactor the following, but i would like to do that with another PR.
- introduce
intra_process_init
non-virtual function underPublisher
andSubscriber
classes, and implement whatever needs to be setup for intra-process pub/sub. - deprecate
post_init_setup
forPublisher
andSubscriber
classes,Subscriber
one 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 <[email protected]>
94ba4a4
to
d3d745d
Compare
Signed-off-by: Tomoya Fujita <[email protected]>
d3d745d
to
9c4cdd0
Compare
Pulls: #2707 |
closes #2705
note: backport required to jazzy and humble.