-
Notifications
You must be signed in to change notification settings - Fork 155
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
ROS-268-min-valid-cols-lidar-scan #428
base: master
Are you sure you want to change the base?
Conversation
Yep, that's cleaner! Thanks for taking the time to look into this. If we now wanted to publish this on a rostopic, I guess we could return a std::optional<size_t> from the lidar_packet_handler? Since A Is this something you would be interested in having upstream? Another options is of course to have the publisher directly in the LidarPacketHandler, but that might differ a bit from how the rest of ros pubs/subs are done? |
I assume you are talking about publishing
If we are moving in this direction, I would say probably
yeah, I think it makes sense to me to add the param to filter LidarScan based on this PR, I am not sure yet about adding a scan stats or statistics topic yet. An alternative approach would be to publish the LidarScan to a topic as is, and the let subscribed nodes do the PointCloud2 scan decoding on their own, this would be a major work that I can not take on in the near term. |
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.
One small thing about the warning print, otherwise looks good!
Related Issues & PRs
Summary of Changes
Validation
min_scan_valid_columns_ratio
parameter (set a high value)