LiDAR for Mobile Robots: Comparing RPLidar A2, RPLidar S3 and Livox Mid-360
Tom Cosgrove,

TL;DR: Choosing a LiDAR for mobile robots comes down to three questions: do you need 2D or 3D data, will the robot operate outdoors in sunlight, and how much compute can you spare for point cloud processing. The RPLidar A2 is a low-cost 2D scanner suited to indoor mapping and teaching platforms. The RPLidar S3 is a 2D scanner with a 40 m range and DTOF ranging that tolerates outdoor light far better than triangulation units. The Livox Mid-360 is a 3D LiDAR with a 360 degree horizontal and -7 to +52 degree vertical field of view, producing a sparse but genuinely three-dimensional point cloud for terrain-aware navigation. All three have official ROS 2-compatible drivers. The rest of this article explains the trade-offs with numbers from official specifications.
Why does LiDAR selection matter so much for a mobile robot?
A LiDAR is rarely just “a sensor you bolt on.” It determines which SLAM stack you can run, how much CPU your onboard computer burns before it does anything useful, how your robot behaves when it drives from a lab corridor into a parking lot, and how tall your chassis has to be. Picking the wrong class of device usually means rebuilding the perception layer halfway through a project.
For field robotics in particular, the failure modes are unglamorous. A 2D scanner mounted at 20 cm will happily map a room but will not see a low wall, a drainage ditch, or a tree branch at head height. A triangulation-based LiDAR that works perfectly in a lab can lose most of its returns when the robot drives into direct sunlight. A 3D LiDAR solves both problems and introduces a new one: you now have tens of thousands of points per second to filter, voxelize, and register, on hardware that also runs control, telemetry, and whatever your actual application is.
Fictionlab’s team sees these trade-offs repeatedly on the Leo Rover and Raph Rover platforms, where customers integrate LiDAR for everything from indoor inspection demos to outdoor agricultural mapping. The three units compared here cover most of that range.
What do the specifications actually say?
The table below collects the headline parameters from the manufacturers’ official datasheets. Treat ranges as best-case figures measured against cooperative targets; real-world performance against dark, wet, or highly angled surfaces will be lower.
| Parameter | RPLidar A2 (A2M12) | RPLidar S3 | Livox Mid-360 |
|---|---|---|---|
| Type | 2D, 360 degree | 2D, 360 degree | 3D, non-repetitive scan |
| Ranging method | Laser triangulation | DTOF (direct time of flight) | DTOF |
| Max range | 12 m | 40 m | 40 m at 10% reflectivity; 70 m at 80% reflectivity |
| Minimum range | Approximately 0.15 m | Approximately 0.05 m | 0.1 m |
| Sample rate | 8,000 points/s | 32,000 points/s | 200,000 points/s |
| Scan frequency | 10 Hz (typical, 5-15 Hz configurable) | 10 Hz (typical, configurable) | 10 Hz frame rate |
| Field of view | 360 degrees horizontal, single plane | 360 degrees horizontal, single plane | 360 degrees horizontal, -7 to +52 degrees vertical |
| Outdoor / direct sunlight | Poor; triangulation degrades strongly in ambient light | Better than triangulation units; rated for 60 klx ambient light | Good; rated for up to 100 klx ambient light and IP67 protection |
| Ingress protection | Not rated | IP65 | IP67 |
| Weight | Approximately 190 g | Approximately 230 g | 265 g |
| Power | 5 V USB, approximately 2.5 W typical | 5 V, approximately 5 W typical | 9-27 V, approximately 6.5 W typical |
| Interface | USB (via adapter), UART | USB (via adapter), UART | 100BASE-TX Ethernet |
| Mounting | Flat top plate, spinning head, keep clear of obstructions | Flat top plate, keep the 360 degree optical path clear | Rigid mount, no exposed spinning cover; tilt affects coverage |
| ROS 2 driver | rplidar_ros (Slamtec, official) | rplidar_ros (Slamtec, official) | livox_ros_driver2 (Livox, official) |
| Output topic type | sensor_msgs/LaserScan | sensor_msgs/LaserScan | sensor_msgs/PointCloud2 or Livox custom message |
Two numbers deserve emphasis. First, the jump from 8,000 to 200,000 points per second between the A2 and the Mid-360 is not a marginal upgrade; it is a different data regime that changes your compute budget. Second, the ranging method column explains most of the outdoor behavior difference. Triangulation infers distance from where a reflected spot lands on an imaging sensor, and strong ambient infrared washes that spot out. Direct time-of-flight measures photon travel time and is generally more robust under the same conditions.
When is a 2D LiDAR enough for a mobile robot?
A 2D LiDAR gives you a single horizontal slice of the world. That is genuinely sufficient in more cases than the 3D marketing suggests.
Consider a 2D unit first when your robot operates in these conditions:
- Structured indoor environments. Warehouses, labs, corridors, and office floors are mostly vertical surfaces. A horizontal slice at 20-40 cm captures walls, pallet racks, and furniture legs well enough for reliable localization.
- Flat floors. If the robot never encounters a slope, step, or ditch, the ground plane carries little useful information and a 2D scan may be sufficient.
- Constrained compute. A LaserScan message at 10 Hz with a few hundred to a few thousand points is relatively cheap. SLAM Toolbox and Nav2’s costmap layers can run on a Raspberry Pi class SBC with an appropriately configured system.
- Teaching and research prototyping. When the point of the project is the algorithm, not the sensor, 2D keeps the debugging surface small. Students can visualize a LaserScan in RViz2 and immediately understand what the robot sees.
The practical ROS 2 stack for 2D is mature and well documented. SLAM Toolbox in asynchronous mode handles online mapping, AMCL handles localization against a saved occupancy grid, and Nav2 consumes both with standard plugins. The whole pipeline is configured in YAML and often integrates with little custom code.
Between the two 2D options, the choice is mostly about environment rather than specification count. The RPLidar A2 covers 12 m, which is more than enough for indoor rooms and corridors, and it draws about 2.5 W from USB. If the robot never leaves the building, that is often the right answer.
The RPLidar S3 changes the calculation when the robot goes outside or into mixed environments. The 40 m range matters in open spaces where the nearest reflective surface may be far away, and the DTOF ranging is more resilient to daylight than the A2’s triangulation system. Its minimum range of roughly 5 cm is also useful for tight indoor work. The IP65 housing tolerates dust and water jets, which are realistic hazards for a ground robot long before anything optical goes wrong.
When do you actually need a 3D LiDAR?
The honest answer: when the terrain or the obstacle geometry breaks the single-plane assumption. A 3D LiDAR for mobile robots is not a general upgrade, it is a solution to specific failure cases.
You need 3D when at least one of the following applies:
- Unstructured or sloped terrain. On grass, gravel, or field tracks, a 2D scanner mounted horizontally will either hit the ground on a downslope or miss obstacles entirely on an upslope. Traversability analysis requires a ground plane estimate, and that requires vertical sampling.
- Negative obstacles. Ditches, drops, and curb edges are difficult or impossible to detect reliably from a single horizontal slice. A 3D cloud can reveal them through ground geometry and missing ground returns, although occlusion still needs to be considered.
- Overhanging geometry. Tree branches, shelf edges, cable trays, and table tops sit above or below a 2D plane. For a tall robot or a manipulator-equipped platform, these are collision risks.
- 6-DoF localization. If the robot pitches and rolls, planar SLAM assumptions degrade. LiDAR-inertial odometry stacks such as FAST-LIO2 or LIO-SAM fuse 3D returns with an IMU and track full pose.
The Livox Mid-360 is designed for exactly this class of mobile robot work. Its asymmetric vertical field of view, -7 to +52 degrees, is unusual: most of the coverage is above the horizon, with a small downward wedge. That layout assumes you mount it high on the robot, pointing forward and up, and that the downward 7 degrees picks up near-field ground. It also uses a non-repetitive scan pattern rather than fixed scan lines, which means coverage density improves the longer the sensor dwells in one place, but a single frame is sparser than a comparable multi-line spinning LiDAR.
The integration cost is real. The livox_ros_driver2 package publishes either a Livox custom message or standard sensor_msgs/PointCloud2, and configuration uses a JSON file defining the host network interface and LiDAR connection settings. You need a wired Ethernet connection on the robot, not USB. Power is 9-27 V, so the Mid-360 typically taps the battery rail directly rather than the 5 V logic supply. And at 200,000 points per second, downstream processing needs either voxel filtering before it reaches your SLAM node or a compute module with headroom. A Jetson Orin Nano class device is generally a safer choice for FAST-LIO2 with the Mid-360 than a Raspberry Pi 4, which may require aggressive downsampling and leave limited headroom.
A deeper treatment of 3D point cloud pipelines, scan pattern trade-offs, and LiDAR-inertial odometry tuning belongs in a dedicated article on 3D LiDAR for ground robots rather than here.
How do these LiDARs integrate with ROS 2 in practice?
Driver quality varies less than you might fear. All three units have official ROS 2-compatible packages, which is an important practical criterion for any sensor on a ROS 2 mobile robot.
For the RPLidar family, Slamtec’s rplidar_ros package covers both the A2 and the S3 with the same node and a model parameter. It publishes sensor_msgs/LaserScan on the /scan topic, handles the serial connection over a USB-to-UART adapter, and exposes scan mode selection as a launch argument. Typical setup time is minutes: set the serial port, set the baud rate, set the frame ID to match your URDF, and launch. The S3 uses a higher baud rate than the A2, which is a common configuration mistake.
For the Livox Mid-360, livox_ros_driver2 uses Livox SDK2 and a JSON configuration file. You configure the host network interface, LiDAR connection details, and publish format. Choosing PointCloud2 output makes the data immediately usable by standard ROS 2 tooling, including RViz2 and pointcloud_to_laserscan if you want to flatten the cloud into a 2D scan for Nav2’s costmap.
That last trick is worth knowing. If you run a 3D LiDAR but your navigation stack expects LaserScan, the pointcloud_to_laserscan node projects a configurable height slice of the cloud down to a planar scan. You can retain 3D data for obstacle processing while using a 2D scan for planar SLAM, from one sensor.
Mounting deserves a sentence of its own. Both RPLidar units need unobstructed 360 degree clearance at their mounting plane, which usually means the highest point on the chassis. The Mid-360 has no exposed rotating cover and is more forgiving mechanically, but its asymmetric vertical FOV means mounting height and tilt angle materially change what the robot can see near its own wheels. Plan the mount geometry before you finalize the chassis, not after.
What should drive your decision?
Reduce the choice to environment first, then compute, then budget for integration effort.
These scenarios map reasonably cleanly onto the three sensors:
- Indoor research platform, planar SLAM, tight compute. RPLidar A2. Lowest power draw, simplest integration, sufficient range for rooms and corridors.
- Mixed indoor and outdoor operation, flat or gently sloped ground, 2D navigation acceptable. RPLidar S3. The DTOF ranging and 40 m range substantially reduce the daylight limitations of triangulation without moving you into 3D processing.
- Outdoor field robotics, rough terrain, overhanging obstacles, or 6-DoF localization required. Livox Mid-360, paired with an IMU and a compute module that can sustain a LiDAR-inertial odometry stack.
One caution worth stating plainly: do not specify a 3D LiDAR because the point cloud looks impressive in RViz2. If your robot runs on flat warehouse floors, the extra 192,000 points per second may buy you little while costing CPU, power, wiring complexity, and a harder debugging loop. Conversely, do not try to force a 2D scanner onto an outdoor terrain robot and compensate in software. Negative obstacles are not recoverable reliably from a horizontal slice, no matter how good the filter is.
Teams working on research applications often end up running both: a 2D scanner for a reliable planar SLAM baseline and a 3D unit for the perception experiments. That is a legitimate configuration on a platform with enough payload and power, and it makes ablation studies much easier because you can disable one sensor and compare directly.
Frequently asked questions
Can the RPLidar A2 work outdoors at all?
It can produce data outdoors, but its triangulation ranging degrades significantly in direct sunlight because strong ambient infrared interferes with detecting the reflected laser spot. Expect dropped returns and shortened effective range. For any robot that regularly operates in daylight, a DTOF sensor such as the RPLidar S3 or the Livox Mid-360 is generally the more appropriate choice.
Does the Livox Mid-360 replace a 2D LiDAR entirely?
Functionally, it can provide a projected LaserScan through pointcloud_to_laserscan. Practically, it depends on your compute and coverage requirements. If your onboard computer struggles with the full point cloud, running a dedicated 2D scanner alongside it can be simpler than aggressive filtering. The Mid-360 also needs 9-27 V power and Ethernet, which some minimal builds do not have available.
Which SLAM package should pair with each sensor?
For 2D scanners, SLAM Toolbox in asynchronous mode is a common ROS 2 choice for mapping, with AMCL for localization against an existing map. For the Mid-360, LiDAR-inertial odometry stacks such as FAST-LIO2 can use its point cloud together with IMU data. ROS 2-compatible packages and ports are available, but their maturity and maintenance status vary by distribution and project.
How much CPU does each option consume?
Exact figures depend heavily on your SBC, SLAM configuration, and filter settings, so published numbers would be misleading without specifying the full stack. As a rough guide from integration experience, a 2D scanner with SLAM Toolbox can run on a Raspberry Pi 4 class device, while FAST-LIO2 with the Mid-360 generally benefits from a Jetson Orin class module or an x86 mini-PC. Benchmark on your own hardware before committing.
What is a non-repetitive scan pattern and why does it matter?
Traditional spinning LiDARs sweep fixed horizontal lines, so coverage between lines is permanently blank. Livox sensors sweep a rosette-like pattern that does not repeat frame to frame, so the covered area fills in over time. For a stationary sensor, integrating several frames gives denser coverage. For a fast-moving robot, each individual frame is sparser than a fixed-line LiDAR of similar cost, which affects single-frame obstacle detection.
Do any of these sensors work with ROS 1?
Slamtec and Livox provide ROS 1-compatible drivers, but ROS 1 Noetic reached end of life in May 2025. New mobile robot projects should target ROS 2.
How should the LiDAR be mounted on a small rover chassis?
Both RPLidar units need clear 360 degree line of sight at their scan plane, so they normally sit at the top of the chassis with nothing obstructing the optical path. The Mid-360 needs a rigid mount and careful attention to tilt, because its vertical field of view is asymmetric, covering -7 to +52 degrees. Mounting it level means most of the coverage is above the horizon, which is usually useful for obstacle detection but leaves a near-ground blind zone you should measure before trusting the navigation stack.
Where to go next
If your robot operates in mixed indoor and outdoor conditions and you need a 2D scanner that is more resilient to ambient light than a triangulation sensor, the RPLidar S3 is a straightforward starting point. Browse the full sensor and accessory range in the Fictionlab shop to check compatibility with your platform before you finalize the mount design.