You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue turned out to be straightforward, thankfully!
The default QoS values used in rclpy are not the same as those in rclcpp. rclpy was defaulting reliability=SYSTEM_DEFAULT, whereas rclcpp was using reliability=RELIABLE by default. When I explicitly set the reliability on the Python clients, the examples work as expected. I'll have a fix up for review soon.
Bug report
Required Info:
Steps to reproduce issue
rclpy
orrclcpp
, it works correctly either wayrclpy example, Subscription does not receive message
rclcpp same example, Subscription DOES receive message
Expected behavior
The Subscriptions from either client library receives the message, even though the Publisher is not actively publishing.
Actual behavior
The rclpy Subscription does not receive the history queue message. The rclcpp Subscription works as expected.
The text was updated successfully, but these errors were encountered: