Projects
On this page
The handheld LiDAR mapping rig. Three Sentry robots with the second-place trophy.

Project2nd place, ARC 2026

Sentry navigation for GT RoboRambler

LiDAR localization for the team's autonomous Sentry: GICP relocalization against a prior map on top of FAST-LIO2, with quality gates that flag a lost pose; repeatable to 1 cm over a full loop.

Role
Software Team Lead
Period
January 2026 – present
Context
GT RoboRambler, Georgia Tech's RoboMaster team
Status
Ongoing
Code
A handheld LiDAR rig: the Livox MID-360 dome on a finned mount in front of a black compute box, with a battery pack strapped to its side.
The whole localization system in one handheld unit: a Livox MID-360 LiDAR, an onboard computer and a battery. I recorded the prior map with it and tested the relocalization on it.
  • 1cmrepeatability over a full loop
  • 5msmedian GICP registration
  • R² 0.96chassis power model, 2.7–4.0 W mean error
  • 2nd of 30+teams at the ARC Robotics Championship 2026

Problem#

Why the Sentry needs a map pose#

The Sentry is GT RoboRambler’s autonomous robot. Nobody drives it during a match, so its navigation stack must know at every moment where the robot stands on the field. Every goal the robot is sent to, and every path planned to reach it, is written in the coordinates of one fixed map frame.

What odometry cannot tell the robot#

LiDAR-inertial odometry estimates motion by matching each new LiDAR scan against the scans before it, fused with an IMU. It is smooth and fast, but it reports the pose in its own odometry frame, which starts wherever the robot was switched on, and matching errors add up to drift over a match.

Odometry by itself cannot place the robot on the map, and it cannot tell when its own estimate has gone wrong. The robot needs both the map pose and a warning when that pose is wrong.

Approach#

Correcting odometry against a prior map#

I kept FAST-LIO2 on a Livox MID-360 for odometry and added a relocalization layer above it. During a run, the relocalization node matches live scans against a stored map of the space and estimates one rigid transform, the map-to-odometry correction Tmap←odom. Composing it with the odometry pose places the robot on the map:

Tmap←body = Tmap←odom · Todom←body

Odometry keeps supplying smooth motion at its own rate; the correction changes slowly and removes the drift. Because the correction comes from a match against fixed geometry, its quality can be measured, and a bad match can be refused.

The prior map#

A prior map is a point cloud of the whole space, recorded in advance. I carried the handheld rig through the space while FAST-LIO2 saved its registered scans into one cloud, then cleaned that cloud into the map. The cleaned map holds 61,788 points; for registration the node downsamples it to 13,937 on a 0.15 m grid.

The handheld LiDAR rig seen from behind: the LiDAR dome at the front, a black compute box in the middle, a battery pack clipped along the side and a rectangular housing at the back.
Top-down view of a point-cloud map of a building floor, with the walls of several rooms traced in white points. (open the full-size figure)
The rig and the map it recorded. LiDAR, computer and battery travel as one unit, so one person walks the space once and the whole floor becomes the fixed geometry every live scan is matched against.

Where localization sits in the stack#

The corrected pose feeds the team’s navigation stack. A Nav2 costmap with a spatio-temporal voxel layer marks obstacles, and the planner turns it into an ESDF, a grid that stores the distance from every cell to the nearest obstacle. The planner finds a route with jump point search (JPS), optimises it with MINCO into a smooth trajectory that keeps clearance, and an MPC tracks that trajectory at 100 Hz on the omnidirectional chassis under a power limit. A decision layer above sets the goals.

The Sentry navigation stack: LiDAR, odometry, localization, costmap, three-stage planner and omnidirectional drive under a decision layer, with localization expanded into GICP registration against a prior map, quality gates, the TRACKING and LOST states and the smoothed map-to-odometry transform. Decision layer BehaviorTree.CPP patrol tree goal LiDAR Livox MID-360 Odometry FAST-LIO2 Localization GICP on a prior map Costmap Nav2 · STVL · ESDF Planner JPS → MINCO → MPC Drive omni · power limit LOCALIZATION, IN DETAIL the relocalization node Scan + pose from FAST-LIO2 GICP registration about 5 ms Quality gates inlier ratio mean error pose jump TRACKING LOST map → odom smoothed, 20 Hz Prior map accept 3 rejects Repeatable to 1 cm over a full loop. LiDAR Livox MID-360 Odometry FAST-LIO2 LOCALIZATION the relocalization node GICP registration about 5 ms Prior map Quality gates inlier ratio · mean error · pose jump accept 3 rejects TRACKING LOST map → odom smoothed, 20 Hz · repeatable to 1 cm Costmap Nav2 · STVL · ESDF Decision layer BehaviorTree.CPP goal Planner JPS → MINCO → MPC Drive omni · power limit
Scans flow left to right into drive commands, and every stage after localization works in the map frame it publishes. The blue panel expands the relocalization node: registration, quality gates, the TRACKING/LOST state and the smoothed transform.

What I built#

The relocalization cycle#

The relocalization node is a ROS 2 node in C++. At start-up it loads the prior map, downsamples it to 0.15 m voxels and builds a KD-tree with a covariance for every point. It then buffers each registered scan FAST-LIO2 publishes and runs one registration cycle every 500 ms:

  1. Take the buffered points and downsample them to 0.15 m voxels; a typical buffer goes from 18,654 points to 2,591.
  2. Estimate each point’s covariance from its 10 nearest neighbours.
  3. Align the buffer to the map with GICP, starting from the current correction: up to 30 iterations, pairing points at most 0.5 m apart.
  4. Check the result against four quality gates.
  5. Blend an accepted result into the correction, or count a rejection.

GICP (generalized iterative closest point) pairs each scan point pi with its nearest map point mi and weighs every pair by the local surface shape that the two covariances C describe. It finds the transform T = (R, t) that minimises

E(T) = Σi di⊤ (Cimap + R Ciscan R⊤)−1 di,    di = mi − (R pi + t)

A point on a wall has a flat covariance, so an error along the wall costs almost nothing and an error through it costs a lot: walls and floors align plane to plane rather than point to point. The node uses the small_gicp implementation on 4 threads.

A live LiDAR scan drawn in red over the black points of the prior map, seen at an angle above a ground grid.
A live scan (red) registered onto the prior map (black): the red walls lie on the black ones. A registration takes a median 5 ms of its 500 ms cycle.

Quality gates and the LOST state#

GICP always returns a transform, and in a corridor or a symmetric room that transform can be wrong while looking converged. Each result therefore passes four gates before the robot uses it. Two quantities do most of the work:

  • the inlier ratio, the share of scan points that found a map point within 0.5 m;
  • the mean error, the GICP cost E divided by the number of inliers.
Gate Rejects a result when
Convergence GICP did not converge
Inlier floor inlier ratio is below 0.35
Fit quality inlier ratio is below 0.65 and mean error is above 0.10
Pose jump the correction moved more than 0.35 m or 5° from the current one

The pose-jump gate rests on how drift behaves: it builds up over seconds, so a correction that leaps 0.35 m or 5° within one 500 ms cycle marks a slipped registration, not a moving robot. I tuned the correspondence distance, the iteration cap and the gate thresholds on logged runs from the rig.

The node also keeps an explicit localization state. Three rejections in a row switch it from TRACKING to LOST, and the next accepted registration switches it back. A bad pose becomes a visible state change instead of a silent error.

Smoothing and publishing the transform#

An accepted result is blended into the current correction with an exponential moving average: linear interpolation for the translation t, spherical linear interpolation (slerp) for the rotation q, with α = 0.2.

t ← (1 − α) t + α tnew,    q ← slerp(q, qnew, α)

Each update moves the correction a fifth of the way toward the new estimate, so the map pose glides instead of stepping. A second timer publishes the correction as the map-to-odometry transform at 20 Hz, stamped 0.1 s ahead, so a downstream node that looks up the transform for the current time always finds one.

Chassis power model#

The competition caps chassis power, so the drive controller has to predict the power a wheel command will draw before it sends it. I modelled the electrical power of the four wheels from their torques τ and speeds ω:

P = k1 Σ τ2 + k2 Σ τω + k3 Σ ω2 + k4

The four terms are copper loss in the motor windings, mechanical power, speed-dependent loss and idle draw. The model is linear in k1 to k4, so least squares fits it directly from logged samples.

Collecting the fit data#

The fit needs data in which each term varies on its own. At ARC 2026 we drove the Sentry through excitation runs while logging wheel torques, wheel speeds and a power meter:

  1. Spin ramps: rotation speed swept up and down, so speed varies while torque stays low.
  2. Spin steps: sudden rotation commands, so torque spikes while speed is low.
  3. Forward, backward and strafe shuttles, so the wheels turn in different directions.
  4. A yaw chirp: a rotation oscillation of rising frequency.

I fitted the model on each run, and the fitted parameters run in the Sentry’s power limiter.

Three stacked plots against time: chassis power, the torques of four wheels and the speeds of four wheels, each with a faded raw trace under a solid filtered one. (open the full-size figure)
One logged excitation run as the fit sees it: power (top), wheel torques τ (middle) and wheel speeds ω (bottom), raw (faded) and filtered (solid). Spin steps and ramps reach 40 rad/s on all four wheels together; in the shuttles at the end, front and back wheels turn in opposite directions.

Decision layer#

I wrote the Sentry’s first decision layer in BehaviorTree.CPP. A behaviour tree is ticked from its root every cycle: a fallback node tries its children in order until one succeeds, and a reactive sequence re-checks its conditions on every tick, so a running action stops the moment a condition fails. The patrol tree combines both over five plugins:

Plugin What it does
NavigateToPatrolPoint Action: drives to the next patrol point
PublishChaseCommand Action: publishes a chase command
PublishSpinCommand Action: publishes a spin command
IsEnemyDetected Condition: checks for an enemy
IsRobotStatusOK Condition: checks the robot status

Leading the software team#

As software lead I led the software team, onboarded 10 new members and taught the Sentry navigation architecture in the team’s software training.

Results#

Localization#

Over a full loop, the relocalized pose repeats to 1 cm. One logged run of 656 registrations shows how the gates and the timing behave:

Measure Value
Registrations passing the gates 651 of 656
Median inlier ratio 86.7%
Switches to LOST 0
Registration time, median (95th percentile) 5 ms (8 ms)
Preprocessing and alignment, median 3 ms and 2 ms
Scan and map after downsampling 2,591 and 13,937 points

A registration uses 1% of its 500 ms cycle.

Power model#

The power model fits both championship runs on held-out samples:

Fit run (ARC 2026) Samples Test R² Mean absolute error Idle power
Run 1 99,884 0.955 4.0 W 2.7 W
Run 2 84,846 0.959 2.7 W 2.8 W
Line plot of chassis power against time over a 100-second excitation run, with the measured trace in light blue and the model in orange lying on top of it. (open the full-size figure)
Line plot of chassis power against time over an 85-second excitation run, with the measured trace in light blue and the model in orange lying on top of it. (open the full-size figure)
Measured power (light blue) and the model (orange) on run 1 (left, test R² 0.955) and run 2 (right, 0.959). The orange trace covers the blue one through the spin ramps, the step peaks up to 600 W and the closing yaw chirp.

Competition#

The team placed 2nd of more than 30 teams at the ARC Robotics Championship 2026.

Sentry robots with red armor lights on the RoboMaster competition field.
The team's Sentry robots on the field at the ARC Robotics Championship 2026, where the team placed 2nd of more than 30 teams.

What’s next#

Next: running the relocalization with the team’s planner on the Sentry, so every planned goal is set against the LiDAR map.