2026-11-23 · 23 min · slam · lidar · state-estimation · point-cloud · hardware · robotics
A 2:20 narrated explainer, drawn in code. Every number and picture in it is this article's own; the sources are below.
› transcript
This is a sixteen-line LiDAR on a motor, its sweeps stacked as they arrive. A ball of streaks. Turn the sensor while it spins and every return is measured from a different angle. I'm Swivel. Here is why alpha-LiDAR turns an ordinary LiDAR, and what its code does to keep up. Unroll the sphere around the sensor. Upright, sixteen lines cover a band about thirty degrees tall. Lay it on its side and each revolution becomes a vertical fan. Now let the motor turn it. Within a second the fan has passed through every direction. Swing it back and forth instead, and the returns concentrate where you point it. The head takes several LiDARs. A gimbal motor with a built-in encoder turns it. The IMU rides on the head with the LiDAR, so it feels the motor's turn directly. Integrate the IMU through the sweep and move every return to the pose at the sweep's end. That is FAST-LIO2's deskew. Each return carries a covariance, and an angle error grows with range. Far, uncertain returns count less when they are matched to the plane map. The motor encoder never enters the filter. It only re-expresses the pose for whatever carries the head. Its first change: start while the head is already spinning, using the orientation the IMU reports. Its second: the motor angle, used only to give the pose of the base. The repo's own run: about seventeen milliseconds a scan. And six centimetres of error, averaged over windows of two hundred poses, each aligned on its own. A kind metric. On a synthetic head already spinning when the recording starts, alpha-LiDAR holds a few centimetres up to six radians a second. FAST-LIO2, starting the usual static way, drifts off by kilometres. Take the motor away and it is still a good odometry: four point four six centimetres on an Oxford walk, ahead of FAST-LIO2 and PV-LIO on the same machine. Turn the sensor, keep the IMU on the head, and the same filter keeps up. A LiDAR on a motor, and the filter that keeps up with it. Thanks for watching! Every source is in the full article. I'm Swivel. Bye!
Why read this
Notabletop 60%α-LiDAR's released code read line by line, built without ROS, and run against FAST-LIO2 on a spinning head with exact truth and four public walks.
- Original analysis
- Runs on a laptop CPU
- A lasting reference
Robotics & embodiedMITPractitioner teardown
How this was scored
- Is it new?
- 1 of 3: An incremental tweak
- Can I trust it?
- 2 of 3: Measures key facts from files, code or configs
- Can I run it?
- 2 of 3: Open code or weights with real limits
- Will I understand it?
- 2 of 3: Mechanism from first principles with figures
- Can I act on it?
- 2 of 3: A concrete recipe, numbers or comparison
- Will it last?
- 2 of 3: A reference for a year or more
- Does it affect many?
- 1 of 3: A specialist community
- Only here?
- 2 of 3: A teardown or measurement few others did
Score 63 of 100, ranked 375 of 773 rated articles. Each question is answered 0–3 by hand, and a 3 is rare. How articles are scored
A 16-line spinning LiDAR sees a band. On the Hesai XT16 and RoboSense RS16 that α-LiDAR uses, the band is about 30 degrees tall, which means the ceiling, the floor near your feet and anything on a staircase above or below you fall outside it. The usual fixes are a denser sensor (more lines, more money) or a second sensor. α-LiDAR does something more mechanical. It mounts the LiDAR on its side on a gimbal motor and turns it, so the 16 beams sweep the whole sphere, and it lets the motor slow down over the part of the scene you care about so the returns pile up there.
The paper is "αLiDAR: An Adaptive High-Resolution Panoramic LiDAR System" by Jiahe Cui, Yuze He, Jianwei Niu, Zhenchao Ouyang and Guoliang Xing (Beihang University and the Chinese University of Hong Kong), at ACM MobiCom 2024. CUHK's technology page lists two awards from that conference for it, Best Artifact and Best Runner-up Demo. Its abstract makes these claims: centimetre-level pose accuracy at an average latency of 37 ms; 3D mapping accuracy, coverage and density improved 8.5×, 2× and 1.6× over a conventional LiDAR; and, from the adaptive rotation, 1.8× the effective sensing distance and 1.9× the perceived objects.
The paper itself is behind ACM's paywall, and I could not get the full text for this piece, so everything below about the method comes from the repository (hardware files, the estimator's source, its configs and evaluation script, and the maintainers' answers in its issues), the abstract, and the companion demo abstract. The figures are the README's, not the paper's.
Official implementation of αLiDAR: An Adaptive High-Resolution Panoramic LiDAR System
- license
- MIT
- branch
- master
- forks
- 35
- open issues
- 10
- source
- 471.1 kB
- commit date
- 2024-12-02
GitHub REST API, 2026-11-21 — branch, commit, commitDate, createdAt, description, forks, languages, license, openIssues, pushedAt, stars, topics

Why turn the sensor
A spinning LiDAR already rotates, about its own axis, ten times a second. Its 16 lasers are fanned out vertically, so each revolution traces 16 cones around that axis. Everything between the top and bottom cone is sampled; everything outside is never seen, however long you wait. Mount the sensor upright and the blind zone is above and below you.
Now lay the sensor on its side and turn it slowly about a second axis at right angles to its spin axis. Each revolution is now a vertical fan, and the motor carries that fan around. Within a second or so of motor rotation the fan has passed through every direction. Nothing about the laser changed: the same returns per second are spread over the whole sphere instead of a band.
The repo's configs fix that geometry. extrinsic_R_encoder_lidar in
rs16_rotation_v2.yaml is a 90-degree turn to within a quarter of a degree: the LiDAR's spin
axis is perpendicular to the motor's.
Spreading the same returns over more sky has a cost, which the widget shows if you drag the window down: in any short window, a given direction is hit less often than in the band of an upright sensor. That is where the "adaptive" in the title comes in. If the motor swings back and forth over a sector instead of turning steadily, the returns concentrate there. The abstract's 1.8× sensing distance and 1.9× perceived objects come from that adaptive mode, where the system optimises the rotation trajectory toward regions of interest. I come back to what the repo does and does not contain for that part below.
The rig

The bill of materials is short. A LiDAR that accepts PPS and GPRMC time sync (the README
lists the Hesai Pandar XT-16, with the RoboSense RS16, Livox Mid-360 and Livox Horizon as
alternatives), a Yesense YIS100 IMU, and a DJI RoboMaster GM6020 gimbal motor, which has its
encoder built in. The mechanical parts are 3D-printed in PLA+ (STEP files in
hardware/Mechanical/). Two small PCBs carry the electronics: a control board on the head
with an STM32F103 that gathers the sensors onto one gigabit Ethernet cable, and a host
interface that splits that cable back into 100 Mbit Ethernet for the LiDAR and USB for the
rest. Everything runs off 24 V.
Two details matter for the software. The IMU rides on the head with the LiDAR, not on the
base, so it measures the motor's rotation directly. And the encoder's angle reaches the host
through the same path as the IMU. A maintainer laid out that path in
issue #13: motor, CAN, the STM32
(which "timestamps and packs the angle packets together with adjacent IMU packets"), USART,
the host, and a serial driver that publishes /imu/data and /imu/encoder.
The repo does not have everything a builder needs. The firmware is a .hex file with no
source (issue #9), and
issue #16 lists other gaps: the
slip ring's part number, a component list for the PCBs, and the Livox mounts. One builder
found the motor's 18 mm hollow shaft too narrow for a 22 mm slip ring. The serial driver that
turns the STM32's stream into ROS topics is not in the repo either
(issue #17).
What turning does to a sweep
A spinning LiDAR takes 100 ms to complete one revolution, and it fires continuously during it. If the head is also being turned by the motor, each return is measured from a slightly different orientation. Stack a sweep as if the sensor had held still and every return is off by the angle the head turned between its firing and the end of the sweep. At range , a return fired before the end, with the head turning at , lands from where it should be. At 3 rad/s that is 17 degrees per sweep, and a wall 8 m away gets smeared by more than two metres.
This is the same problem a handheld LiDAR has when you swing it, only constant and larger,
and α-LiDAR solves it the same way FAST-LIO2
does. Integrate the IMU through the sweep, keep the pose at every IMU sample, and move each
return to the end-of-sweep pose with the pose at its own firing time. Because the IMU is on
the head, the motor's turn is just more angular velocity; nothing in the filter needs to know
a motor exists. IMU_Processing.hpp's UndistortPcl is FAST-LIO's backward propagation with
the same structure.
The one motor-shaped guard is in the IMU callback. A sample with any gyro axis above 10 rad/s is dropped as a glitch:
if (std::abs(msg->angular_velocity.x) > 10
|| std::abs(msg->angular_velocity.y) > 10
|| std::abs(msg->angular_velocity.z) > 10) {Ten radians a second is 573 degrees per second, so the head may turn fast, but not that fast.
The estimator is PV-LIO with two changes
I asked myself early on what the "uncertainty modelling of the rotation process" in the
abstract would turn out to be in code. A maintainer answered the question directly in
issue #12: "PV-LIO is an
under-developing version of αLiDAR". The two updates over PV-LIO are "non-static
initialization for rapid rotation scenarios" and "uncoupled motor encoder fusion". The
state_estimation package's voxelMapping.cpp is that PV-LIO lineage: an iterated
error-state Kalman filter on a manifold (the IKFoM toolkit, as in FAST-LIO2), with the map
held in a VoxelMap-style octree of planes instead of FAST-LIO2's ikd-Tree.
PV-LIO has its own article on this site, measured on the same
sequences.
The state is position, rotation, the LiDAR-to-IMU rotation and translation, velocity, gyro and accelerometer biases, and gravity on the 2-sphere: 23 degrees of freedom. The prediction is the IMU, as in the Kalman filter article. The update is where it differs from FAST-LIO2.
Every return carries its own covariance
Each LiDAR return gets a 3×3 covariance in the sensor frame from two numbers in the config,
a range noise and an angular noise (ranging_cov 0.04 m and angle_cov 0.1 degrees for
the RS16 rig). Along the beam it is ; across it, , so far
returns are less certain sideways. That covariance is then pushed through the
LiDAR-to-IMU extrinsic and the current pose estimate, picking up the filter's own rotation
uncertainty on the way:
where is the return's covariance in the IMU body frame, its
position there, and the rotation and translation blocks of the
filter's covariance, and the body's rotation. The middle term is what a spinning head
makes large: an attitude error of moves a return by about
, so a return 20 m away is twenty times less certain than one at 1 m.
In the code, transformLiDARCovToWorld does it in two stages (LiDAR to body with the
extrinsic's covariance, then body to world):
M3D COV_world =
state.rot * COV_body * state.rot.conjugate()
+ state.rot * (-point_crossmat) * rot_var * (-point_crossmat).transpose() * state.rot.conjugate()
+ t_var;The map side is VoxelMap's: space is cut into voxels (0.25 m, two extra octree levels for the indoor configs; 2 m and four levels outdoors), each voxel fits a plane with its own 6×6 covariance on normal and centre, and splits into eight when its points are not planar enough. A return is matched to a plane only if its distance is within 3σ of the combined uncertainty, and its row in the update is weighted by
so a return near the sensor hitting a well-measured wall counts more than a far return grazing a thin plane. One detail I did not expect: the matching gate uses the world-frame covariance, with the pose uncertainty in it, while the weight in the observation model uses only the LiDAR's own noise rotated into the world. FAST-LIO2, by contrast, gives every point-to-plane residual the same fixed variance.
Starting while the head is already spinning
FAST-LIO2 and most of its descendants initialise from a short static window: average the accelerometer to find gravity, average the gyro to find its bias. On α-LiDAR the head may be turning from the first sample, and averaging a gyro that reads the motor's rate gives you the motor's rate as "bias". In issue #1, a user reported that FAST-LIO2, Point-LIO and iG-LIO all failed to run on the released data, and the maintainer pointed at this: the head rotates "from the beginning", and α-LiDAR has a non-static initialisation.
The non-static start is short. With init_gravity_with_pose: true, the filter takes its
initial attitude from the orientation the YIS100 reports in each IMU message (the IMU runs
its own attitude estimate), sets gravity to straight down in that frame, and starts the gyro
bias at zero:
init_state.rot = SO3(
meas.imu.back()->orientation.w,
meas.imu.back()->orientation.x,
meas.imu.back()->orientation.y,
meas.imu.back()->orientation.z);
init_state.grav = S2(0, 0, -G_m_s2);So the "non-static initialisation" leans on a sensor that already knows which way is down. A plain 6-axis IMU without an orientation output cannot use this path.
The encoder does not enter the filter
In October 2024 I replied in that same thread that other LIO systems would also need the
encoder data fused into their state estimation to run on these bags, and linked the encoder
block in voxelMapping.cpp. Reading the code properly
for this article, α-LiDAR itself does not do that. The encoder never reaches the Kalman
filter. uncoupled_encoder_fusion runs after the update: it slerps the two encoder samples
around the scan time, and composes the head's estimated pose with the encoder angle and the
head-to-motor extrinsic to give the pose of the motor's base, the thing the head is mounted
on:
SO3 R_odom_o_base = R_odom_o_lidar * R_lidar_o_encoder * R_encoder_o_base;
V3D t_odom_o_base = R_odom_o_lidar * t_lidar_o_encoder + t_odom_o_lidar;That pose is published on /Encoder for whoever carries the sensor (a robot that wants its
own pose, not the spinning head's). The odometry itself is computed from the IMU and LiDAR
alone. "Uncoupled" in the maintainer's phrase is accurate: the motor angle is a frame change,
not a measurement. The consequence for anyone porting this: you can run the estimator
without the encoder and lose nothing in the head's trajectory.
What the repo's own evaluation reports
The README ships a screenshot of evaluation.py after a run on one of the released
sequences:

Two things are worth knowing about those numbers before quoting them. The ATE there is not
the usual one. evaluate_segmented_local_ate cuts the estimate into windows of 200 poses,
steps 100 poses at a time, aligns each window to the ground truth on its own, and reports the
mean of each window's mean error. That is a local-consistency number, much kinder than one
alignment over the whole run, and it is what "centimetre-level" refers to as far as the
released code can show. And the "vertical FoV" is computed by logger.py as the spread of
elevation angles in each scan after rotating it into the map frame, front and back halves
summed, so it can reach 360 degrees when the fan sweeps through the vertical.
The README's second screenshot shows what happens without the pipeline: the raw sweeps stacked as they arrive, a ball of streaks.

The data, and why I could not run it
The README links three recordings: alpha_lidar_large_indoor.bag (corridors and reflective
floors, with a .fusion.gt reference), alpha_lidar_various_scene.bag (indoor and outdoor,
with an .f9p.gt reference, which by its name is a u-blox F9P RTK GNSS track) and
alpha_lidar_15floors_staircase.bag (a 15-floor stairwell, no reference). They are on Mega
and on Baidu Pan.
When I went to fetch them on 21 November 2026, the Mega folder was empty. Mega's API returns
one node for the link, the datasets folder itself, and nothing in it; the same request
against another public folder returns its files. The Baidu share still lists all five files,
2.21 GB, 3.35 GB and 3.56 GB of bags and two small reference files (26 KB and 14 KB, so a
sparse reference, a few hundred poses at most), but Baidu only serves downloads to a
logged-in client. So I could not run α-LiDAR on α-LiDAR's own data for this article. What I
ran instead is below, and I say for each part what it can and cannot tell you.
Building it without ROS
The estimator ships as a ROS 1 catkin package: voxelMapping.cpp subscribes to three topics,
publishes a dozen, and runs its loop on ros::spinOnce(). I wanted to run it the way the
site's other LiDAR-inertial articles now run everything, with no ROS installed at all, on the
same converted sequences and through the same evaluation as the
FAST-LIO2, PV-LIO and
Voxel-SLAM runs.
Instead of editing the estimator, I wrote the slice of ROS it touches. A directory of headers
carries ROS's names (ros/ros.h, sensor_msgs/Imu.h, nav_msgs/Odometry.h,
tf/transform_broadcaster.h, livox_ros_driver/CustomMsg.h and so on) and defines them as
plain structs. A cloud travels as a pcl::PCLPointCloud2, so pcl::fromROSMsg becomes
pcl::fromPCLPointCloud2. ros::NodeHandle::param reads a flat file generated from the
shipped YAML. subscribe records the callback; ros::spinOnce() reads the next record from
the converted sequence, in the order a bag player would deliver it (IMU samples at their
stamps, a sweep once its last return has fired), and calls that callback. Publisher::publish
hands the message to a hook that writes the pose, the timing and the registered cloud. The
estimator's own main() runs unchanged on top of this.
The upstream sources compile as shipped with one edit: the latency log goes to the run's
output directory instead of a fixed /tmp/latency.csv, which parallel runs would share. The
MP_PROC_NUM thread count, a compile-time constant upstream, is read at run time. The same shim
builds FAST-LIO2's laserMapping.cpp unmodified, which gave me a baseline on the synthetic test
below through exactly the same pump.
A spinning head with exact truth
Since α-LiDAR's own recordings were out of reach, I built a recording where the answer is
known. synth.py in the port puts a 16-beam LiDAR (rings every 2 degrees from −15 to +15, 10
sweeps a second) and a 200 Hz IMU on one head, inside a 12 × 9 × 3.5 m room with two boxes. The
head stands still for 2 s, ramps smoothly up to a 1.5 m circle at 0.6 rad/s with a slow yaw on
top, and, on top of that, spins about its own x axis at a fixed rate from the first sample:
the α-LiDAR situation, with the head already turning when the recording starts. The IMU readings
are exact derivatives of the trajectory and there is no noise, so whatever error comes out is
the estimator's. Each run is 30 s and 24.3 m of path, scored by one SE(3) alignment over the
whole run.
| Head spin | α-LiDAR, non-static init (shipped setting) | α-LiDAR, static init | FAST-LIO2 |
|---|---|---|---|
| none | 2.5 cm | 2.5 cm | 3.7 cm |
| 1.5 rad/s | 3.0 cm | aborted, 0 poses | diverged (1,418 m) |
| 3 rad/s | 5.6 cm | aborted, 0 poses | diverged (1,158 m) |
| 6 rad/s | 2.7 cm | aborted, 0 poses | diverged (1,184 m) |
With the non-static start, α-LiDAR tracks the spinning head to a few centimetres at every rate
I tried, up to 6 rad/s, which is 344 degrees a second and 34 degrees inside a single sweep. Both
alternatives fail, and for the same reason. A static initialisation averages the first IMU
samples and calls the mean gyro reading "bias". On a head that is already turning, that mean is
the motor's rate. The filter subtracts it from every later sample, believes the head is still,
and its gyro-bias random walk (b_gyr_cov of 2.66 × 10⁻⁶ in the shipped config) is far too
tight to walk 1.5 rad/s back out. FAST-LIO2 drifts off by kilometres. α-LiDAR with the static
path does not get that far: the process aborts within the first scans. Its CMake keeps
assertions on (-O3 -g, no NDEBUG), and I built it the same way, so a NaN reaching one of
IKFoM's checks stops it. I did not capture which assertion fired, and this is my ROS-free build,
not the authors' ROS one, but the code path is theirs and the failure mode is the one issue #1
describes.
The test is kind to the non-static path in one way: my orientation column is exact, where a real YIS100 reports an attitude with its own error. The 5.6 cm at 3 rad/s is the worst of the four and not monotonic with rate, so I read the four numbers as "a few centimetres", not as a trend.
A real motorised recording, without a reference
I looked for any public recording of an actuated LiDAR with an IMU on the head and a ground truth. I did not find one. The closest is the test bag that ships with LiMo-Calib (MIT), a LiDAR-motor calibration method from Jianping Li's group: a Livox Mid-360 turned by a motor, with the Mid-360's own IMU on the turning head, 120 s, 445.5 MB. There is no reference trajectory, so I can only check that a system keeps the head in one place and builds a sharp map. The rig itself stays put; only the motor moves, at about 3.6 rad/s once it starts, and the gyro averages 0.033 rad/s in the first second, so this recording starts still.
| On LiMo-Calib's bag | α-LiDAR (its mid360.yaml) | FAST-LIO2 |
|---|---|---|
| poses | 1,196 | 1,196 |
| head position extent over 120 s | 3 × 6 × 5 cm | 5 × 9 × 6 cm |
| start-to-end gap | 2.8 cm | 5.6 cm |
| flat-patch RMS in the map (median, 1 m cells) | 17.4 mm | 18.5 mm |
| ms per scan (serial, 4 threads) | 30.8 | 2.5 |
| peak memory | 1.7 GB | 192 MB |
Both systems hold the spinning head within a few centimetres for two minutes and build maps of
the same sharpness. FAST-LIO2 does fine here because the recording starts still, which supports
the reading of the synthetic table: what breaks a standard LIO on a turning head is the start,
not the turning. α-LiDAR pays about twelve times FAST-LIO2's time per scan for its plane octree
and per-point covariances. For the extrinsic I used Livox's published IMU offset
(+0.04412 m in z); α-LiDAR's shipped mid360.yaml has −0.04412. I did not run both to see
whether the sign matters on this bag.

The estimator with the motor taken away
The last test asks whether α-LiDAR's estimator is a good LIO on an ordinary fixed sensor. It went through the same harness as every system in the LIO shootout: the same converted Hilti 2022, Oxford Spires and Newer College sequences, frames, SE(3) alignment without scale, and divergence rule, on the same 28-core machine. These rows are not α-LiDAR: no motor, no encoder, no non-static start (the shared IMU stream has no orientation), and α-LiDAR's shipped Hesai XT16 configs (indoor for the Hilti rooms, outdoor for Oxford and Newer College) with only the line count, scan rate and extrinsic changed for each sensor.
| Sequence | α-LiDAR estimator | FAST-LIO2, same machine | PV-LIO, same machine | α ms/scan |
|---|---|---|---|---|
| Hilti exp14 basement, 38 m | 4.43 cm | 11.5 cm | 3.95 cm | 5.0 |
| Oxford Spires Keble, 283 m | 4.46 cm | 6.2 cm | 10.9 cm | 21.7 |
| Newer College park, 2.4 km | 27.1 cm | 28.7 cm | 30.0 cm | 61.2 (parallel pass) |
| Hilti exp16 stairwells, 117 m | aborted at 29.5 s (7.7 cm until then) | diverged | 1.74 m | n/a |
FAST-LIO2's row is its indoor variant from the shootout. The FAST-LIO2 article's earlier runs on another machine (beast2) had 7.2 cm on Oxford and 50.1 cm on the Hilti basement with its shipped 0.5 m map. Timings are from a serial pass pinned to four cores at four threads, except Newer College, which comes from the parallel accuracy pass.
On a fixed sensor, the estimator is a strong LIO: best of the three on Oxford, within half a centimetre of PV-LIO in the basement, and level with the others over the long park loop, where all three drift by roughly 30 cm without loop closure. It is also lighter on memory than PV-LIO where both map outdoors (1.0 GB against 8.7 GB on Oxford). On the stairwell sequence it aborted 29.5 s in, the same assertion stop as the static-init runs; PV-LIO, its parent, finishes that sequence at 1.74 m.
Is it worth building
I think the idea is right and the software is better than its framing. Turning a cheap 16-line LiDAR is the cheapest way to see a ceiling, a staircase or the ground at your feet, and the code that makes it work is a careful PV-LIO with one change that matters, a start that does not assume the sensor is still. That change is small. It also leans on an IMU that reports its own attitude, so if you build the head with a bare 6-axis IMU you need another way to start, or you start the motor after the filter has initialised, as LiMo-Calib's recording happens to do.
What I would not do is quote the paper's "centimetre-level" next to other LIO numbers. The repo's evaluation aligns 200-pose windows one at a time, which hides drift by construction. On the runs I could score with one alignment, α-LiDAR's estimator lands between 2.5 and 5.6 cm on a spinning synthetic head and about 4.4 cm on two real fixed-sensor walks. That is good, and close to the claim, but it is my measurement, not the paper's, on my data, not theirs.
For someone building one: the mechanical and PCB files are enough to start, the firmware is not open, and the released data has gone missing from Mega. If you have a motor and a LiDAR, the estimator itself runs as is, and it builds without ROS.
Notes on what I ran and read
Ran, on a 28-core Intel i7-14700 box with no GPU use: the ROS-free build of α-LiDAR's
state_estimation at commit 51374c4c and of FAST-LIO2 at 7cc4175d, the synthetic spinning-head
test, LiMo-Calib's bag, and the four shootout sequences through the shared harness. The port
(header shim, offline pump, configs, evaluation) is in the shootout's systems/alpha-lidar
directory. Read, not run: the paper (paywalled; abstract and demo abstract only), α-LiDAR's own
three recordings (Mega folder empty, Baidu needs a login), and the adaptive scan-trajectory
optimisation behind the 1.8× and 1.9× claims, which is not in the released code.
