r/ROS • • 6d ago

Question Scanning techniques for SLAM implementation

I am working on a mapping and localization robot using SLAM and ROS2 for a university project. I'm really struggling to find a 2D lidar scanner for scan matching, and I would like to know about other scanning techniques with other hardware.

And please talk about your experience or knowledge about each technique.

Thanks.

2 Upvotes

10 comments sorted by

3

u/1971CB350 6d ago

Trouble buying one? Trouble using it? More details are needed here

1

u/Kitchen_Life_1563 6d ago

Ordering it online will take over a month to ship and I have around a month and a half to finish my project.

2

u/1971CB350 6d ago

Bummer. What hardware DO you have access to?

1

u/Kitchen_Life_1563 6d ago

I have access to most sensors like ultrasonic, 1d lidar and depth camera, it's just 2d lidar is rarely used where I live so no one bothers importing it and selling it locally. Have you worked on slam before?

2

u/1971CB350 6d ago

Oh, then you need to look into visual slam using the point cloud from the depth camera. https://www.reddit.com/r/ROS/comments/1sudtqu/nav2_with_rgbd_slam/

1

u/Kitchen_Life_1563 6d ago

I know about that but when I asked gemini it said that its more difficult than scan matching (narrow fov, more data per scan, calibration, etc), I'm wondering if there are other easier methods

1

u/1971CB350 6d ago

Yeah, that’s all true. You could put the camera on serial servo, if you can get one. That will greatly increase FOV but reduce your speed greatly. You could reduce the overall data load by setting a narrow horizontal scan band (only collect points between 1.4 and 1.5 meters off the ground, with the camera mounted 1.45m high, for example.

1

u/Kitchen_Life_1563 6d ago

I'll consider that, thank you.

2

u/airfield20 5d ago

https://github.com/chrisspen/laser-range-finder with a webcam and a laser level.

Ive never done this before, just an idea

1

u/Kitchen_Life_1563 5d ago

Very interesting concept but it won't work sadly, I need much faster scans than what's possible with this method, but thanks for the suggestion