-
Notifications
You must be signed in to change notification settings - Fork 136
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
QoS for Clients and Services #404
base: main
Are you sure you want to change the base?
Conversation
@samouwow thanks for your PR. However, I'm hesitant to accept this change, neither |
@esteve thanks for the quick response. As best I can tell both rclpy and rclcpp have an API to provide a custom QoS when creating clients and servers, this PR would simply bring rclrs in line with those other libraries. I will concede both of those client libraries have the QoS as default values, would you feel more comfortable if rclrs had one method for creating clients/servers with QoS and one without? E.g. P.s. in case it helps the argument, I need this feature to interop with a C++ ROS2 node, so from my perspective the lack of this API breaks compatibility |
I like the idea of a client builder. Rust does like its builder patterns, after all. |
I also think we should look into creating a client builder instead of proliferating |
@samouwow thanks for all the work. Would you be interested in adding builders for |
I've opened #427 which introduces an option builder pattern to allow services and clients to override specific fields in the default client/service QoS. It applies the same option builder pattern to subscriptions and publishers, so all the different primitive creation functions are consistent. I believe that addresses the last round of feedback on this PR. |
Addresses #391