-
Notifications
You must be signed in to change notification settings - Fork 355
Enable filters in humble #501
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
base: humble
Are you sure you want to change the base?
Enable filters in humble #501
Conversation
Modify pcl_ros::Filter::subscribe() to use humble-compatible message_filters::Subscriber::subscribe() calls. Modify pcl_ros::Filter::createPublishers() to avoid use of missing rclcpp::PublisherOptions.event_callbacks.matched_callback.
humble is still a supported distro, so features could be backported to it. However I have to make sure that we don't break the ABI and break compilation for downstream users. Are you sure backporting is safe? In your PR you've copied a lot of files. This means I can't easily review this PR. It would be easier if you cherry-picked commits. After that I'd expect two small commits to fix the compilation issues you've encountered. |
Thanks for the feedback @Rayman. I can have a go at doing what you suggest. I suppose it would be best to create a separate PR if taking that approach? |
Yes you can create a new PR or force push on your old one. Either will work. A short summary:
|
I also need it |
@TomasCorral I'm afraid I haven't gotten around to following through on @Rayman's suggestion as of yet. In the meantime, you should be able to readily use this branch if you need the filters urgently. |
Related thread: #423
I don't know if you folks accept PRs for previously released distros, i.e.
humble
in this case?We've been doing some work on Jetson Orin Nano boards, which have not yet been bumped to
noble
/jazzy
yet AFAIK, and needed to use the PCL filters, so I thought it would be a good idea to try to enable them in thepcl_ros
humble
build.The general strategy I used was to cherry-pick the requisite filter updates from
jazzy
and merge them intohumble
. This required some slight modifications detailed as follows.I modified
pcl_ros::Filter::subscribe()
to usehumble
-compatiblemessage_filters::Subscriber::subscribe()
calls, changing this fromjazzy
:to this:
I also modified
pcl_ros::Filter::createPublishers()
to avoid the use of missingrclcpp::PublisherOptions.event_callbacks.matched_callback
, swapping this injazzy
:for this:
I've tested all of the filters manually and they all build and appear to be working. I had some struggles getting
pcl_ros::RadiusOutlierRemoval
to work, but I suspect that may be due to a misconfiguration on my end rather than a problem with the filter itself.I've also re-enabled the filter tests.
Let me know if you need any updates or if this is an inappropriate PR given that
humble
has already been released.