Skip to content

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

Merged
fujitatomoya merged 1 commit intokiltedfrom
mergify/bp/kilted/pr-2903
Jul 16, 2025
Merged

Add qos parameter for wait_for_message function (backport #2903)#2905
fujitatomoya merged 1 commit intokiltedfrom
mergify/bp/kilted/pr-2903

Conversation

@mergify
Copy link
Copy Markdown
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 <ghanta1996@gmail.com>
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Co-authored-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
(cherry picked from commit 2fcef70)
@fujitatomoya
Copy link
Copy Markdown
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
Copy Markdown
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