-
Notifications
You must be signed in to change notification settings - Fork 738
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
QoS improvements for image_proc and stereo_image_proc #922
QoS improvements for image_proc and stereo_image_proc #922
Conversation
A few notes:
I almost think we should just remove the automatic publisher QoS and set it to SystemDefaultQoS + Overrides (which is at least deterministic). |
pub_options.qos_overriding_options = rclcpp::QosOverridingOptions::with_default_policies(); | ||
|
||
// Create publisher with QoS matched to subscribed topic publisher | ||
auto qos_profile = getTopicQosProfile(this, image_topic_); |
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.
only change here is actually passing in image_topic_ rather than "image_raw" (technically still worked before, but leaves open the possibility of the topic names getting out of sync)
( | ||
'right/image_rect_color', | ||
[LaunchConfiguration('right_namespace'), '/image_rect_color'] | ||
), |
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.
this was a relevant patch from #720 (which was an alternative approach, before the overriding was really available)
…#922) First part of ros-perception#847 * Add QoS overrides for all publishers (in the new, standard way) * stereo_image_proc: Default subscriber QoS to SensorDataQoS * Clean up some of the comments around lazy subscribers, make them more consistent across nodes
First part of #847