Where the work stands and what is next. Results: results.md. The gaps between the sim and the car, axis by axis: sim_to_real.md.
- One pipeline. The car and the sim map and drive with the same segmentation, scan, mapping, control, state and actuator workers; a test keeps it that way.
- Camera-only mapping and racing in the sim. Walls from an occupancy grid over the segmentation-edge scans, in the loop: the practice track maps cleanly in one lap and races 10 laps without a hit; the compete track maps every time (results.md).
- A SLAM-like sim pose (
sim_pose_degrade) for testing the controllers against late, noisy, drifting poses with dropouts. - Deployment tooling.
scripts/jetson_selftest.pybefore every start,scripts/stage_latency.pyfor per-stage latency from any recording, deploys fromcar-v*tags, the Jetson image built in CI (deployment.md).
Each step needs the car, the Jetson and the track; in this order, nothing moves a wheel before steps 1 and 2 pass.
- Firmware bench test. Compile (
arduino-cli compile -b arduino:esp32:nano_nora firmware/) and run the five wheels-off checks infirmware/README.md: RC only, Jetson only, stick override, Jetson timeout (servo to neutral within 250 ms), transmitter off. Then remove its warning. - Jetson bring-up.
scripts/jetson_selftest.pyall PASS; OAK-D on USB 3; regenerateorbslam_oakd_rgbd.yamlat the car's frame rate (30 fps requested, the file says 15); try the Pro's IR dot projector for depth indoors; pindepthai(oakd.md). - Measure on the Orin. A recorded run through
scripts/stage_latency.py,SLAMWorker's tracking time, CPU / GPU load and thermals at maximum performance, next to the sim's table in results.md. - Calibrate.
speed_per_throttlefrom a straight run,vehicle_params.yaml(F1TENTH placeholders now), and the camera height and pitch (SLAM logs them at start). - Hand-driven recordings. Five or more RC laps with
--recording; bootstrap masks from them, correct a few hundred by hand, train the segmentation on real frames and score it on a held-out lap (datasets.md). Until then the car usesground_plane. - ORB-SLAM3 on the recordings. Tracked frames and ATE against AprilTags (
scripts/vio_bench); refitsim_pose_degradefrom the measured latency, noise and dropouts. Drive the rear-IMU estimator;lqr/mpcstay sim-only until its yaw rate is measured. - Static scan check. The car standing still, segmentation-edge scan against tape-measured wall distances at 0.5, 1, 2 and 3 m.
- Autonomous lap. Mapping lap on the scan, then three laps of
pure_pursuitwith the speed cap at 1.0 m/s; a kill test at low speed (SIGKILL every process, the firmware timeout stops the car). - Release. Tag the version that did it
car-v1.0.0(deployment.md); the Jetson runs that tag from then on.
- Race settings against the degraded pose. With
sim_pose_degradeon, the compete race goes from 0–1 to 12–15 collisions and 2–3 s slower laps, and latency and dropouts are the cause, not noise (results.md). Separate latency from dropouts, then tune the speed profile and lookahead (or the estimator) until the degraded race is clean; that is the setting the car should start from. - Compete-track racing lines on live maps. The live maps are as accurate as the offline one, but their racing lines pass 0.33–0.42 m from a wall (0.45 m offline) and hit the left hairpins. Keep the line 0.45 m off on any map, or map two laps before racing.
- Policy collisions. About 30 % of live episodes collide, most likely because
rl/bicycle_env.pymodels the car as circles of r = 0.14 m. Retrain with the real footprint and a wall margin, then benchmark againstpure_pursuitat the same speed cap. - ORB-SLAM3 in the sim needs Joshua Choi's build (a front camera with depth); the stock camera cannot support it (results.md). Until then the degraded pose stands in.
- Sim-side neutral on disconnect. If every pilot_core process dies, the stock sim keeps
applying the last command. An issue for the simulator's repository (
Tinker-Twins/AutoDRIVE) is drafted in the maintainers' notes.
scripts/autodrive_texture_sim.pystill hard-codes/workspaces; the other sim scripts readAUTODRIVE_ROOTandAUTODRIVE_LOG_DIR.