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. |
|
We now have the options builder for services and clients merged, which allows users to set their QoS. I believe it would be reasonable to close this PR now. |
Addresses #391