Closed peci1 closed 1 year ago
Ok, I was not aware of the crop box filter. I implemented it (b107b2d9aa155b305352f0a9d21e982917a2c330) with the same parameters as in pcl_ros, and probably I will use this instead of the passthrough.
At the moment passthrough can be kept as it is maybe in future I can expand to exploit its other functionalities (eg to filter the intensity)
Awesome, thanks!
Do you also plan to make a binary release of the package?
Do you mean as official ROS package? I would like to do so once package is mature enough maybe by adding some other filters, to not release updated versions too often
;) Don't worry, the process is not as difficult as it might seem. Even in the current state, the package would seem useful to me.
When you do the release, feel free to ping me and I'll update the readme in sensor_filters.
BTW, the package is released on the ROS official repository now (noetic
)
Yes, I've noticed, great!
To make this package a bit easier to use, I suggest to make its API closer to pcl_ros.
What you implemented here, is actually better done with
pcl::CropBox
. And there is pcl_ros nodelet https://wiki.ros.org/pcl_ros/Tutorials/filters#CropBox (don't wonder you haven't found it before - this filter has long been undocumented; I've added the documentation today).So if you want to keep this package closer to pcl_ros interface, you should rename the parameters to match those of
CropBox
. And you can actually also use thepcl::CropBox
internally to do the filtering in a more efficient way.Just note that
pcl::CrobBox
parameterkeep_organized
is broken on Melodic and doesn't work there (if you still use Melodic).