Skip to content

Conversation

@ivanpauno
Copy link
Collaborator

Both classes are almost equivalent to the ones in rclcpp, the existing code also already had unit tests.

I think that it doesn't make much sense to have separated AsyncParametersClient and SyncParametersClient implementations, as the internal implementations is almost the same.
I would rather have only one ParametersClient class that has both sync and async methods, though it doesn't matter much.

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@ivanpauno ivanpauno added the enhancement New feature or request label May 19, 2021
@ivanpauno ivanpauno requested a review from jacobperron May 19, 2021 18:32
@ivanpauno ivanpauno self-assigned this May 19, 2021
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@ivanpauno ivanpauno force-pushed the ivanpauno/parameters-client branch from f54eb63 to 8beba78 Compare May 19, 2021 20:17
@ivanpauno
Copy link
Collaborator Author

Depends on #74.

Copy link

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather have only one ParametersClient class that has both sync and async methods, though it doesn't matter much.

Having a single client makes sense to me. I guess we can leave it for now, which keeps it similar to rclcpp.

@ivanpauno ivanpauno merged commit 5cd83d7 into galactic-devel Jun 1, 2021
@ivanpauno ivanpauno deleted the ivanpauno/parameters-client branch June 1, 2021 17:44
jacobperron pushed a commit to ros2-java/ros2_java that referenced this pull request May 17, 2022
* Cleanup service/client creation code

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* Add methods to create a parameter client in Node

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants