-
Notifications
You must be signed in to change notification settings - Fork 337
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
Add workaround for deprecated filter functions #285
Add workaround for deprecated filter functions #285
Conversation
I'm OK with this once CI passes |
Ping @SteveMacenski The reasons why the checks fail seem unrelated |
Toggling to rerun, lets see what it says now. The noetic failure was caused by Ping me when it finishes and we can take a look again. If you're so motivated to change Eigen -> Eigen3 that would be great. |
@SteveMacenski ok, melodic passes now. The Eigen thing comes from pcl itself. |
I think the Eigen thing is because the cmakelists / package.xml of |
I am quite sure that the Eigen issue has to be fixed in pcl itself, not here in perception_pcl. Everywhere here, Eigen is already called Eigen3, except in the package.xml, but even with that changed the cmake warning still pops up. The log says:
PCL has a FindEigen.cmake that actually finds Eigen3, and there is a FindEigen.cmake in the ros distribution under share/cmake_modules that is deprecated. I guess these two get mixed up and that causes the problem. I might create a PR for this issue in the pcl repo. |
After thinking a bit more about the Eigen issue, it seems there is a really simple solution after all. The warning disappears just by moving the |
@mvieth please make that change then |
PCL searches for a FindEigen.cmake file. The FindEigen.cmake file delivered with PCL actually finds Eigen3, but there is a FindEigen.cmake in cmake_modules that is deprecated and generates a cmake warning. With the old order of the find_packages, there seems to be a mix-up and PCL finds the deprecated file. The new order solves that problem.
@SteveMacenski done. No cmake warnings anymore. |
Still warnings
but not your problem in this PR. I'm good with this |
See also:
PointCloudLibrary/pcl@f26c6fc
PointCloudLibrary/pcl@630627b