Big picture
Map Simulation testing as an exam 智驾仿真全景地图 Scenario library (exam questions), simulator (exam room), system under test (examinee), evaluation (grading), and the data loop around them; open vs closed loop, MIL to road, ISO 26262 vs SOTIF, and where this project sits. Ten short lessons, one question each.
Layers No simulator is complete: five kinds of exam room 仿真的五种考场 Engine simulation (CARLA, MetaDrive), log replay, neural reconstruction (NeRF / 3DGS), world models, and HIL / road / shadow mode, ordered from cheap and high-volume to expensive and rare. Each one animated: what is real, what is fake (replayed cars drive through you; reconstruction blurs off the recorded path; a world model makes a car vanish), what it tests, and how real-car failures loop back as new tests.
Control and planning
A3 Pure Pursuit look-ahead 前视距离试驾场 Short look-ahead weaves, long look-ahead cuts corners: 1.23 / 0.27 / 0 m overshoot at 2 / 5 / 15 m.
A7 Lane change, slowed down S 形变道慢放 A quintic (minimum-jerk) lane change vs a straight diagonal at 10 m/s: steering wheel, lateral acceleration and d / speed / acceleration curves in sync. Left, centre, right, centre; half the time means 4x the lateral acceleration.
A7 Why plan in Frenet: a lane change in a curve 弯道变道两种画法 Same left curve, same Pure Pursuit. Offsetting the path toward the road's left (Frenet) ends in the left lane; adding d to map y ends back in the own lane (3.50 m off) once the road points up. Lane change plus curve peaks at 3.19 m/s².
A3 · metric Lateral error, done right 离中心线多远 Distance to the nearest waypoint hides up to 0.25 m of error; point-to-segment distance fixes it.
A8 Controller lag changes safety metrics 刹车慢半拍 Same planner, lagging PID: minimum gap drops from 4.96 m to 4.36 m.
A8 Car following in a curve 弯道跟车:两种开法 IDM + Pure Pursuit + bicycle model, with the lead car braking inside the curve.
A8 Stop-and-hold with hysteresis 停车保持的门槛 Different enter and exit thresholds stop the creep-stop-creep cycle at low speed.
LiDAR perception
A5 One sweep of a 32-beam LiDAR 激光雷达扫一圈 Rings on the ground, occlusion behind the lead car, the blind circle around the ego car.
A5 Where LiDARs are mounted 激光雷达装在哪 Roof, roof-front tower, bumper, headlights, full surround: a draggable 3D comparison.
A5 DBSCAN step by step DBSCAN 怎么分堆 Core points, expansion and noise; why eps must sit between the largest gap and the nearest neighbour.
A5 Why one car became two clusters 车顶上的缝 A 0.86 m unscanned gap between the hood face and the roof splits the car at eps 0.5.
A5 From points to a box 一堆点怎么画框 Axis-aligned min / max boxes, scanned one axis at a time.
A5 Why the box center is biased 前车框为什么偏 I-shape vs L-shape visibility: the center always shifts toward the sensor.
A5 Only the rear face is visible 前车只剩车尾 The lead car box is 2.30 m short, and no eps setting changes that.
A5 Ground removal on a slope 坡道上去地面 On a 4% upgrade a flat height cut leaks 3,371 road points; a RANSAC ground plane leaks 0. 3D steps plus a side-view slow motion.
Source: docs/ · open any file offline by double-clicking it.