-
Notifications
You must be signed in to change notification settings - Fork 224
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
Allow specifying qos #1225
Allow specifying qos #1225
Conversation
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.
LGTM with green CI
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.
Mind updating the test too? Looks like it's failing on the PR job. I'd recommend making the test use keyword args instead
rclpy/rclpy/test/test_wait_for_message.py
Line 60 in 220d714
ret, _ = wait_for_message(BasicTypes, self.node, TOPIC_NAME, 1) |
Signed-off-by: Tim Clephas <[email protected]>
Signed-off-by: Tim Clephas <[email protected]>
8d68061
to
bdc1198
Compare
Signed-off-by: Tim Clephas <[email protected]>
9bdeb1c
to
2bbe554
Compare
FYI, there are some flake8 errors associated with this PR (they are a little hidden because of other, unrelated flake8 errors, but here is a direct link: https://ci.ros2.org/job/ci_linux/20558/testReport/junit/rclpy/flake8/I100____test_test_wait_for_message_py_21_1_/) |
Signed-off-by: Tim Clephas <[email protected]>
ac67ad3
to
c46bbea
Compare
Thank you @clalancette that was indeed snowed under. Thanks for the pointer, fixed now. |
Thanks. The other flake8 errors should be fixed now, so the next CI run should be clean: |
@Mergifyio backport iron |
✅ Backports have been created
|
* Allow specifying qos Signed-off-by: Tim Clephas <[email protected]> (cherry picked from commit 34cfd2f)
* Allow specifying qos Signed-off-by: Tim Clephas <[email protected]>
* Add feature of wait for message (#953). (#960) * Add feature of wait for message. Signed-off-by: Lei Liu <[email protected]> Signed-off-by: Tomoya Fujita <[email protected]> * Fix to issue #1179 (#1180) * Fix to issue #1179 Signed-off-by: KKSTB <[email protected]> Signed-off-by: Tomoya Fujita <[email protected]> * Allow specifying qos (#1225) * Allow specifying qos Signed-off-by: Tim Clephas <[email protected]> --------- Signed-off-by: Lei Liu <[email protected]> Signed-off-by: Tomoya Fujita <[email protected]> Signed-off-by: KKSTB <[email protected]> Signed-off-by: Tim Clephas <[email protected]> Co-authored-by: Lei Liu <[email protected]> Co-authored-by: KKSTB <[email protected]> Co-authored-by: Tim Clephas <[email protected]>
This function didn't work for transient local publishers.
This is a breaking change because the argument order is changed. However with the future in mind, this order makes most sense to me as all first arguments are passed directly to the subscription.
If you like the original order I can change this.