Skip to content

Add qos parameter for wait_for_message function (backport #2903) #2905

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

Merged
merged 1 commit into from
Jul 16, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 16, 2025

Description

A small change to include the QoS settings as one of the parameters for rclcpp::wait_for_message. This is useful in cases where we want just to get the last published message on the topic, rather than always waiting for a new message.

Fixes # (issue)

Is this user-facing behavior change?

Did you use Generative AI?

No

Additional Information


This is an automatic backport of pull request #2903 done by [Mergify](https://mergify.com).

Signed-off-by: Sriharsha Ghanta <[email protected]>
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Co-authored-by: Alejandro Hernandez Cordero <[email protected]>
(cherry picked from commit 2fcef70)
@fujitatomoya
Copy link
Collaborator

Pulls: #2905
Gist: https://gist.githubusercontent.com/fujitatomoya/c40dd36e5037d5f04ce68a0e402d61d3/raw/0218280b172708a36585d8cb2fbaffcf488847a9/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp
TEST args: --packages-above rclcpp
ROS Distro: kilted
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/16501

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

@fujitatomoya
Copy link
Collaborator

windows warnings are unrelated.

@fujitatomoya fujitatomoya merged commit a35793a into kilted Jul 16, 2025
3 checks passed
@ahcorde ahcorde deleted the mergify/bp/kilted/pr-2903 branch July 17, 2025 07:56
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.

2 participants