Skip to content

Add binning and box masking. - #14

Open
jgoppert wants to merge 2 commits into
ldrobotSensorTeam:masterfrom
rudislabs:pr-binning
Open

Add binning and box masking.#14
jgoppert wants to merge 2 commits into
ldrobotSensorTeam:masterfrom
rudislabs:pr-binning

Conversation

@jgoppert

@jgoppert jgoppert commented Nov 16, 2023

Copy link
Copy Markdown

Adds binning and box filter. The binning makes this compliant with slam_toolbox expectations. Instead of sending as many sample as are available, this sets a fixed number of angular bins and fills them based on the samples.

The box filter is similar to the angular mask, but can be used to mask out regions on your robot more precisely than angular masking. If you have a narrow mast for instance, box binning will allow you to ignore it based on x, y position instead of based on angle. This is more robust and you get to keep more of the lidar scan. We also tried using the box filter from ros2_laser_filters, but the cpu load was very high compared to this implementation.

Signed-off-by: James Goppert <james.goppert@gmail.com>
Co-authored-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
@bperseghetti

bperseghetti commented Nov 16, 2023

Copy link
Copy Markdown
Contributor

@mingdonghu @ldrobotsensor this also closes several issues and makes it work nicely in ROS 2:
Closes #4
Closes #7
Closes #11

Signed-off-by: James Goppert <james.goppert@gmail.com>
@Myzhar

Myzhar commented Feb 5, 2024

Copy link
Copy Markdown

Will this fix be merged?

@bperseghetti

Copy link
Copy Markdown
Contributor

Will this fix be merged?

Sure would be nice if it could get merged!

I don't think the two owners of this repository have been on github for a while (looking at their profiles for their commit histories).
Feel free to also just take the branch it's on, we have no plan of getting rid of that branch anytime soon:

https://github.com/rudislabs/ldlidar_stl_ros2/tree/pr-binning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants