Closed erwinbonsmatopic closed 2 years ago
@jonbinney ping
@JaccovdS looks like the compiler isn't finding the headers in CI - ideas?
Oh..... i think the headers didn't change until noetic. I've been resisting creating a noetic-devel branch, but that might be needed here.
Well it seems that kinetic and melodic actually use the indigo-devel branch. So I think I can just rename the kinetic-devel branch to noetic-devel, and then release into noetic from that. Let me think it over.
@jonbinney, getting rid of compiler warnings is good practice, so that's why I did so. However, if these changes have too much impact on your CI and release set-up, we can park this PR. The other PRs do not depend on this. On the other hand, it may be good to properly support noetic. It's your call.
It's worth getting this merged. I created a net noetic-devel branch and I'm cleaning up CI here: https://github.com/ros-perception/laser_filters/pull/138 Once that gets merged I'll retarget this PR to the new branch and merge it.
Fix all compiler warnings.
Fixed following warnings concerning filters header file includes:
warning Including header <filters/filter_base.h> is deprecated, include <filters/filter_base.hpp> instead. [-Wcpp]
Also fixed format warning in speckle_filter.cpp:warning: format ‘%i’ expects argument of type ‘int’, but argument 8 has type ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wformat=]
Btw, this is the first in a series of intended PRs. The following ones will include additional unit tests and performance improvements.