Use SensorDataQoS for lidar subscriptions#37
Merged
benemer merged 2 commits intoPRBonn:mainfrom Jul 15, 2025
Merged
Conversation
Switched from SystemDefaultsQoS to SensorDataQoS for both LaserScan and PointCloud2 subscriptions to ensure compatibility with sensor publishers using BEST_EFFORT reliability. This avoids QoS incompatibility errors when subscribing to topics.
benemer
reviewed
Jul 14, 2025
Member
benemer
left a comment
There was a problem hiding this comment.
Thanks, Ibrahim!
It would probably also make sense to change that for KISS-ICP, right?
Contributor
Author
|
Hi Benedikt, For KISS-ICP, the sensor subscription QoS is set to the sensor data profile: https://github.com/PRBonn/kiss-icp/blob/75517d5d4a767e93539b0fad16cfc7ed98d1fe4f/ros/src/OdometryServer.cpp#L84C37-L84C50 Actually I got this fix from KISS-ICP |
Member
|
Ah nice, good catch! |
saurabh1002
approved these changes
Jul 15, 2025
benemer
approved these changes
Jul 15, 2025
Member
benemer
left a comment
There was a problem hiding this comment.
CI passes now, I had to make some changes to the CI :) Looks good and thanks again!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switched from SystemDefaultsQoS to SensorDataQoS for both LaserScan and PointCloud2 subscriptions to ensure compatibility with sensor publishers using BEST_EFFORT reliability. This avoids QoS incompatibility errors when subscribing to topics.