SLAM & Navigation
Best SLAM algorithm for a low-cost LIDAR setup?
I've got an RPLIDAR A1 on a differential-drive base running ROS2 Jazzy. Trying to decide between slam_toolbox and Cartographer for a robot that'll mostly map single-floor indoor spaces under 200 sq meters. Any real-world experience with either on this exact sensor class?
5 comments
For under 200 sqm indoors,
slam_toolboxis the easier starting point — it's what ships in the default Nav2 tutorials and has synchronous mode which is much more forgiving to tune than Cartographer's parameter set.Agreed, and to add the specific reason: slam_toolbox's lifelong mapping mode also lets you keep extending the same map across multiple sessions without a full remap, which matters a lot once you've got a 200 sqm space — you won't want to redo the whole thing every time. Cartographer is better if you specifically need multi-floor/multi-trajectory merging, which it sounds like you don't.
This matches what I saw too. One gotcha: the default
max_laser_rangein slam_toolbox's params assumes a 12m sensor (A1). If anyone reading this has an A2/A3, bump that parameter or you'll silently lose range.Different angle: have you looked at your scan rate vs robot speed? At the A1's ~5.5Hz scan rate, if your base can move faster than about 0.5 m/s you'll see smearing at corners regardless of which SLAM backend you pick.
Good catch, I capped our max linear velocity at 0.4 m/s for exactly this reason. Worth its own troubleshooting note honestly.