-
Notifications
You must be signed in to change notification settings - Fork 170
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
Add QoS parameter to ros2 service call
#812
base: humble
Are you sure you want to change the base?
Add QoS parameter to ros2 service call
#812
Conversation
6a4df53
to
8e9f8d9
Compare
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.
besides adding test cases in ros2service.test.test_cli
would be better.
@bastianhjaeger are you gonna work on this? |
Yes. I am. I am more a c++ developer, so I am slow(er), but I am willing to work on this. Regarding your comment
And my question to you here is still open: In addition, I do not comprehend why the test fails here: |
0a2e7ea
to
64d5ad3
Compare
@bastianhjaeger thank you for the contribution, i will look into this. |
@bastianhjaeger sorry to be late to get back to you, i think implementation looks good, but could be updated for future maintenance and flexibility. thanks |
64d5ad3
to
3fe424c
Compare
…opic pub` Signed-off-by: Bastian <[email protected]> [squash before merge] React on comments Signed-off-by: Bastian <[email protected]>
12d8e79
to
3f8dd67
Compare
Signed-off-by: Bastian <[email protected]>
3f8dd67
to
a99cbbc
Compare
@fujitatomoya Moving all the QoS argument handling in one file would result in one file, but the file would contain something like
and this is, in my opinion not desirable. My approach now would be to revert everything for the topic section and add a specific QoS arg handling for |
'--qos-profile', | ||
choices=rclpy.qos.QoSPresetProfiles.short_keys(), | ||
default=default_profile_str, | ||
help='Quality of service preset profile to subscribe with (default: {})' |
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.
cont to https://github.com/ros2/ros2cli/pull/812/files#r1202519155, entity name should be removed as well? (it says all for subscription only.)
help='Quality of service preset profile to subscribe with (default: {})' | |
help='Quality of service preset profile with (default: {})' |
@@ -0,0 +1,88 @@ | |||
# Copyright 2017 Open Source Robotics Foundation, Inc. |
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.
Sorry missed it 😅
# Copyright 2017 Open Source Robotics Foundation, Inc. | |
# Copyright 2023 Open Source Robotics Foundation, Inc. |
|
sorry accidentally closed, reopened. |
I am not clear on this. originally this PR is meant to introduce the QoS argument for i might be mistaken, could you elaborate it? |
@bastianhjaeger are you still working on this? |
In case of service setups diverging from the default QoS on a service, a service may not be called by cli due to mismatching QoS profiles.
This PR should fix it.