Skip to content
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

Merged
merged 4 commits into from
Mar 27, 2024
Merged

Allow specifying qos #1225

merged 4 commits into from
Mar 27, 2024

Conversation

Timple
Copy link
Contributor

@Timple Timple commented Feb 23, 2024

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.

Copy link
Contributor

@sloretz sloretz left a 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

Copy link
Contributor

@sloretz sloretz left a 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

ret, _ = wait_for_message(BasicTypes, self.node, TOPIC_NAME, 1)

rclpy/rclpy/wait_for_message.py Outdated Show resolved Hide resolved
Signed-off-by: Tim Clephas <[email protected]>
@fujitatomoya
Copy link
Collaborator

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette
Copy link
Contributor

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]>
@Timple
Copy link
Contributor Author

Timple commented Mar 27, 2024

Thank you @clalancette that was indeed snowed under. Thanks for the pointer, fixed now.

@clalancette
Copy link
Contributor

clalancette commented Mar 27, 2024

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:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette clalancette merged commit 34cfd2f into ros2:rolling Mar 27, 2024
2 of 3 checks passed
@fujitatomoya
Copy link
Collaborator

@Mergifyio backport iron

Copy link
Contributor

mergify bot commented Apr 22, 2024

backport iron

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Apr 22, 2024
* Allow specifying qos

Signed-off-by: Tim Clephas <[email protected]>
(cherry picked from commit 34cfd2f)
fujitatomoya pushed a commit to fujitatomoya/rclpy that referenced this pull request Apr 22, 2024
* Allow specifying qos

Signed-off-by: Tim Clephas <[email protected]>
fujitatomoya added a commit that referenced this pull request Jun 25, 2024
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants