2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00
2026-10-06 18:11:59 +00:00

Tesla Semi ATS driving assistant

Current runtime: ATS-native autopilot

Run-Tesla-FSD.bat now starts the native ATS backend. It does not load openpilot, WMI, Pop v2, ONNX, or camera inference for control. The backend follows the active game GPS route over the mounted lane graph, reads simulator traffic/trailer geometry and authored signal data, and drives through the verified vJoy input path. The optional in-game SPF bridge (native/input_bridge) is retained for explicit diagnostics, but its acknowledgement alone does not prove that ATS has mapped the semantic device into the truck controls. With --input auto, the runner therefore selects vJoy first and only tries ETS2LA if vJoy is unavailable; --input spf, --input ets2la, and --input vjoy select a transport explicitly. The Tesla Semi right and left screen surfaces remain the native backend's display and diagnostics output.

The older WMI/Pop launchers remain available for passive comparison and rollback only. They are not part of the native control path.

Cabin rendering runs on a separate worker with one pending frame; slow screen updates cannot hold up fresh steering commands. Authored road coordinates are immutable after verification, so detached driving scenes share those static points while copying mutable observations. Lane association projects all segments together. vJoy writes serialize with neutral/release separately from the command mailbox, allowing the next command to be queued during a slow device write. The 500 ms command watchdog remains active. The native actuator worker neutralizes immediately on a failed focus check and latches a fault if it persists for 100 ms; a brief window handoff can resume the existing lease only with an unexpired command. The main loop still releases on focus loss, Escape, or manual takeover. A confirmed fault requires a new human F8 press. The control log records scene-copy, planning, SDK-to-control, command dispatch, and cabin-render timings separately.

Road-profile handoffs use a fixed qualified bridge between both complete road primitives. Its forward path does not shrink when the truck enters the bridge; lane membership uses that same curve until it joins the next road centerline. The bridge requires verified sources, consecutive GPS edges, an explicit route-bound profile connection, and qualified geometry on both sides. Ordinary off-path, height, heading, and freshness checks still apply.

Native automatic passing uses the mounted ordinary-road lane definitions and measured actor bodies. When the set speed exceeds a verified lead's speed by more than 5 MPH, the planner checks the adjacent left lane, signals, and follows a road-anchored transition. It keeps the maneuver when the lead leaves the forward view, follows the passing lane, and signals right to return only after the passed consist clears the rear of the player's trailer and the return gap is usable. A controlled junction queue does not trigger a pass. Shoulders and opposing lanes are excluded. The cockpit status and bounded native control log report the maneuver phase and reasons for waiting.

Lane-change steering and collision checking use the maneuver's chosen path; the departure lane's center and old forward corridor no longer fight the pass. Only a fresh permitted transition expands the lane-membership gate at the midpoint. An occupied lane pauses the maneuver with braking. Lane permissions are refreshed in the background after map expansion, using the current mounted definition catalog rather than retaining an obsolete graph hash.

A measured parked vehicle blocking the route can trigger the same adjacent-lane bypass. Authored construction-prefab paths remain part of native GPS following. Random roadwork cones, barriers, and full-road detours are not detected by the vehicle actor reader. Handling those events requires live event/obstacle geometry and a route that excludes the closed corridor; an empty vehicle list does not establish that a work zone is clear. SCS documents random road events and lane-blocking behavior at https://modding.scssoft.com/wiki/Documentation/Engine/Units/journey_events_road_event and whole-road detours at https://modding.scssoft.com/wiki/Documentation/Engine/Detours.

Continuous WMI / Pop v2 gameplay

Run-WMI-Drive.bat selects the pinned stock openpilot 0.11.0 WMI model; Run-Pop-v2-Drive.bat retains Pop v2 as a fallback. The panel names the selected model. Both use the same verified split vision/policy tensor layout, decoder, paired narrow/wide camera input and temporal context. To select directly: python tools/run_pop_gameplay.py --model wmi-v0.11.0 or --model pop-v2. Matching contracts do not establish equivalent ATS driving performance.

Continuous gameplay accepts the Peterbilt 579 and the Tesla Semi, reported by the SDK as Semi truck 2019. The installed forward inset and native camera checks remain in use. On October 3, 2026, the user reported that the inset remains fixed through the full camera look range in the Tesla Semi. This is a visual observation; the earlier 579 calibration evidence is preserved separately.

GPS is optional when fresh SDK telemetry reports zero route distance and the GPS reader explicitly reports no active route. The panel then shows model road following, and F8 can engage without a destination. Setting a destination restores GPS checks; missing or invalid data for an active route does not silently switch to model-only driving.

Use Run-Pop-v2-Drive.bat for continuous experimental driving with Pop v2, analog vJoy steering, and Chill speed hold at the saved target (35 MPH initially). Keep ATS in front, select a forward gear, release the parking brake, and press F8 when the panel reports ready. F8 toggles driving; manual steering or braking and focus loss release controls. Camera looks remain available. Escape releases driving controls while leaving the panel open, so ATS menus work normally. Close the panel or press Q while it is focused to exit.

This mode has no trial timer or narrow engagement speed band. Model uncertainty and incomplete historical slots after initial warmup appear as warnings. Disengaging leaves the original model/GPS/traffic dashboard live, and a later F8 press can engage again. The model uses CPU inference; GPS is displayed as route guidance and does not yet steer navigation turns. With ATS focused, Home raises MAX by 5 MPH; End lowers it by 5 MPH, while engaged or disengaged. Range is 5–80 MPH. The panel updates immediately and the target is saved for the next launch. First launch defaults to 35 MPH; python tools/run_pop_gameplay.py --speed 40 overrides the initial target.

Temporal warmup resamples the policy's historical feature timeline between real recorded model features at the observed CPU cadence. Interpolation is bounded to 250 ms and to normal local cadence; unsupported intervals remain incomplete. Observed/interpolated slot counts and bracket widths are recorded explicitly. Actual camera pairs retain their separate 100 ms sampling bound. A brief capture interruption no longer erases all history; long pauses and projection changes still reset it. An unqualified GPS first-node connection permits camera lane assistance while automatic route execution remains pending. Matched route/model disagreement and manual junction handoffs still retain their control gates.

Steering follows the actual model path with an 18 metre / 2.5 second lookahead, reducing correction strength when the forecast is shorter. Gameplay speed hold can ramp throttle to 100% for truck load and retains learned holding power near the target instead of repeatedly dropping to coast. Following uses native actor/trailer boxes and the measured truck front extent. Missing motion estimates do not erase a position hazard. A centered camera lead with probability at least 0.90 over three consecutive frames and at least 95 ms can provide a nearer rear estimate or a fallback; adjacent/single-frame detections cannot. Incomplete traffic coverage still requires manual following. SDK feedback from our own vJoy brake is not treated as a manual takeover; physical steering/brake keys still release control. Brief command gaps can recover with a unique model frame no older than 350 ms; a 500 ms command deadline still releases controls and requires a new F8 press.

Stopping-distance and time-to-contact estimates drive traffic braking, including 100% emergency brake instead of the earlier 20% cap. With fresh measured native motion, low-speed traffic following uses a 16-foot minimum buffer for a moving lead and follows its measured pace; stopped or uncertain leads retain the 26-foot buffer. A matching camera rear can tighten the gap without erasing measured departure motion. Close leads persist as explicitly estimated gaps for at most one second across read dropouts, without extending the last observation timestamp; held estimates cannot enable the reduced queue buffer. A traffic feed gap with no retained lead inhibits throttle while leaving steering engaged. Brief model/path gaps retain traffic braking instead of unconditionally clearing the pedals. The panel labels following/emergency braking and unknown-feed coasting. Native linked trailer chains are bounded to four; unverified or longer chains reject the snapshot, and coverage is still incomplete. These are experimental simulator heuristics, not guaranteed collision avoidance.

The experimental painted-lane blend is disabled after a reported lane-keeping regression; steering currently uses the previous model-path controller. The helper remains available for offline analysis. A rejected vJoy write gets one identical retry only if the SDK still confirms ownership. Persistent actuator or neutral-write failures leave the panel alive and passive, report the fault, and require a new human F8 press to retry.

The truck navigator's SDK posted speed limit can raise MAX. A valid limit must remain stable for 0.3 seconds; the first known limit or a change to a higher posted limit raises MAX only if it exceeds the current target, within the existing 80 MPH cap. The automatic offset is +5 MPH while a verified trailer is attached (or its state is still unknown) and +10 MPH when the verified own chain says the tractor is bobtail. Home/End still adjust MAX by 5 MPH. An unchanged or lower sign does not overwrite a manual setting; zero, missing, paused or stale limits are ignored. Target changes are saved and shown immediately. This increase-only mode does not reduce MAX for lower posted limits.

MAX is a ceiling. Predicted path curvature reduces the effective cruise target using a 2 m/s² lateral acceleration budget. Covered path points up to 100 m also provide bend anticipation with a 1.5 m/s² braking budget; the planner never extrapolates beyond the model path. Speed recovers at up to 3 MPH per second after a bend. The saved MAX stays unchanged by curve caps. This is a simulator heuristic, not validated rollover prevention; path branch selection and lane keeping remain incomplete.

A supervised simulator controller using the existing Supercombo model, ATS telemetry, and analog vJoy or keyboard controls. F8 selects the camera for the chosen mode, centers the cabin with NumPad 5, and engages after ten usable road frames. Steering tracks the detected lane center at distance-indexed lookahead points. The calibrated road inset supports a limited steering test with manual speed; the separate bumper mode also supports cruise.

Finish setup

  1. Close ATS and double-click install_plugin.bat. Approve the Windows administrator prompt. The installer copies and verifies the bundled RenCloud v1.12.1 64-bit plugin; results go to install_log.txt.
  2. Restart ATS and enter the driving view. Start the engine, select a forward gear, and release the parking brake.
  3. For keyboard fallback, leave ATS configured for A/D and W/S. For smoother analog control, finish the vJoy setup below. The assistant sends no mouse movement.
  4. The Tesla Semi FSD desktop shortcut opens the calibrated inset steering test with CPU inference, vJoy and the original dashboard. Bring ATS to the foreground on a straight road with clear lane markings, drive at 10–15 MPH, then press F8. Control the pedals manually. Inset testing disengages above 20 MPH. Run-Tesla-FSD-Passive.bat opens observation without acquiring driving controls.
  5. F8 again, Escape, physical driving keys, or camera keys take over. Focus loss, paused/stale telemetry, unclear lanes, and actuator errors also release controls.

The HUD shows engagement-blocking reasons. Tab belongs to ATS. Lane-change shortcuts are disabled during initial lane-keeping validation. The HUD moves to a second monitor when available; on a single monitor keep it behind ATS while driving.

The original dashboard panel is still the default. It shows the actual 512x256 model input, lanes, predicted path, speed, gear, status, selected model, driving mode, model provider, and inference timing. --no-hud hides it for diagnostic tests. --hud-mode cockpit_screen selects the compact visualization; with the panel focused, M switches layouts and Q exits. C cycles driving modes and N cycles compatible registered models, only with fresh stationary telemetry, the parking brake set and F8 off. Focusing the panel while driving releases control because ATS loses focus. The ordinary inset launcher retains manual pedals; C cannot bypass its restriction to steering-only control.

IQ Pilot feature integration

The comparison uses only the requested IQ.Pilot beta-radarless-pq branch, pinned to commit 821597d28fba40a531c3e2afa02fb0c0198a8d04. Public source was read through its Gitea contents API; file revisions are preserved in the ignored reference/iqpilot-beta-radarless-pq/source.json. The ATS code implements these concepts independently. The reviewed branch maps Stock ACC to factory longitudinal control, IQ.Chill to IQ longitudinal with relaxed personality, and IQ.Pilot to end-to-end model longitudinal control. Its signal lane-change modes include direct and timed activation, brake cancellation, a consumed state, and optional blind-spot waiting. IQ.Dynamic exists in the newer separate local checkout, but is outside this branch comparison.

Feature Available here Work before active use
Driving modes --driving-mode manual, cruise, or chill; Chill limits throttle/ramp and increases following distance. Neither cruise mode is model-driven IQ.Pilot. Tune the remaining speed error and test bends/lead following. End-to-end mode needs a validated model trajectory and speed planner.
Model selector --list-models, --model ID, and parked panel N; every local entry has its own manifest, hash and decoder contract. The historical model and an experimental passive Pop v2 adapter are installed. Validate Pop's camera, cadence and vehicle response before control. Its split vision/policy bundle has a separate runner and decoder; it cannot replace the historical ONNX directly.
Laneless path --dry-run --path-preview evaluates model geometry without acquiring vJoy. Pop's passive assessor also checks predicted road edges, uncertainty and temporal coverage. Validate camera pose, live cadence, obstacle handling and closed-loop response. Hypothesis weight is not road confidence.
Nudgeless turn signals --dry-run --signal-preview reads actual SDK signal flags and issues one model-intent pulse per activation, with configurable delay and brake cancellation. This never commands a lane change. Validate the model's maneuver response, adjacent-lane geometry and side traffic; add completion/abort states and trailer clearance. Nearby ATS vehicles can now be displayed, but blind-spot clearance logic is not validated.

Run-Tesla-FSD-Chill-Test.bat opens a restricted 120-second, 15 MPH inset cruise test with the usual camera identity, telemetry, focus, takeover and watchdog checks. The desktop shortcut still opens manual-pedal lane keeping. Chill is an ATS speed controller inspired by the mode distinction; it is not the IQ.Pilot implementation or its complete driving stack.

Run-Tesla-FSD-Feature-Preview.bat opens passive path and signal evaluation with the original dashboard and paired input/output recording. You drive. The previews require --dry-run and cannot acquire vJoy or actuate the truck. Signals use active flags rather than flashing lamp states. The preview delay defaults to one second; --signal-delay accepts 0.05, 0.5, 1, 2 or 3 seconds. Preview cancellation does not establish that a neighboring lane is clear.

Assess a recording with python -m tools.assess_path_recording diagnostics/RECORDING_DIRECTORY. Existing moving calibration had usable path geometry in 253 of 266 frames, but a median 0.64 m offset from the detected lane center. The other 13 paths lacked usable forward extent. This is a geometry assessment, not validation of laneless driving; the saved frame review confirms that the path can be offset from lane center.

The implementation order is: clean camera input and comfortable speed control; paired passive path/signal recordings and model comparison; calibrated laneless tracking; then controlled turn-signal lane-change tests with explicit clearance and abort behavior. The current runner still uses CPU ONNX Runtime; this feature work does not enable ROCm.

Cabin driving with a separate model camera

An experimental --camera auxiliary mode reads a dedicated 512x256 road inset while the main ATS view stays in the cabin. It uses SCS custom multi-view rendering, with cabin geometry disabled only in the inset. This is an additional rendered camera, not access to an invisible camera 6 feed. Run-Tesla-FSD.bat selects the calibrated inset steering test with CPU inference and opens the original dashboard. Run-Tesla-FSD-Passive.bat keeps observation available without driving commands. Running python main.py directly still defaults to the validated bumper mode with automatic provider selection.

Run python -m vision.configure_auxiliary_camera to generate a preview. Close ATS, then run it with --apply to back up config.cfg and any existing multimon_config.sii and install the layout. The initial camera offset is truck-dependent and needs live calibration. Restart ATS in cabin view (top-row 1), then run python main.py --camera auxiliary --dry-run --record-calibration --inference-provider cpu. The dashboard camera preview should show only the inset road image, with plausible lanes and stable confidence. Recording saves the exact input and matching live model outputs. Active auxiliary control requires a reviewed calibration matching the truck, layout, model, plugin and settings. Resolution/layout changes require recalibration. Physical steering and camera keys still take over. Mouse-look is permitted only in active inset mode with live camera correction; a short supervised road check passed.

On October 3 the inset was verified live at the top center, 32 pixels below the top of the 2560x1440 game screen. The original SCS layout followed cabin head movement. The installed ForwardCamera render integration compensates for that movement, and the Pinnacle calibration now permits restricted steering-only control. The original game configuration is preserved in fsd-camera-backup-20261003-031258-083728 inside the ATS documents directory. Game notification overlays can obscure the inset because capture reads the rendered screen.

An independent truck-facing view requires a render integration that fixes the auxiliary camera to the truck while preserving the driver's camera. SCS explains the main-camera dependency. The inspected ETS2LA capture plugin captures already-rendered frames, and the ETS2LA communication plugin exposes camera properties; neither documented interface creates the independent view.

A ForwardCamera prototype uses SPF Framework v1.2.5 to compensate for cabin head movement in the road inset. The direct per-monitor render hook retains truck rotation while removing head rotation. It requires exact loaded-code comparisons across five inspected ATS 1.61.2 functions, a signature/location check, and road rectangle/FOV checks. Version 0.2.3 also compensates for head translation using the existing read-only RenCloud telemetry mapping. All 117 parked look samples matched, with median/P95 feature shifts of zero pixels at detector precision. No different parked pose was held long enough for a settled result, and the user still reported very slight movement. Subsequent moving calibration found usable lanes in all 155 recorded look frames, with reviewed lane overlays following the paint. The original dashboard remains available. The installer backs up existing SPF files and preserves camera settings.

GPS-guided driving

The target is a destination-to-destination simulator experience: the selected ATS GPS route guides lane selection, exits and turns; the road camera supplies local road/traffic observations; the controller applies steering and speed. This is a navigation-guided architecture. The existing historical Supercombo input contract has no GPS/navigation tensor, so GPS cannot be passed directly to that model without changing its interface or adding a planner.

The RenCloud reader now exposes SCS navigation distance (metres), ETA (seconds), speed limit (m/s), local map scale, and the truck's world position/rotation. The dashboard displays GPS distance and speed limit, and paired passive recordings preserve this metadata. These fields are observations; no driving behavior is changed by them. Invalid optional navigation metadata is marked unavailable without invalidating otherwise healthy steering telemetry.

Run python -m tools.check_navigation to inspect the live inputs without acquiring controls. The October 3 check found fresh ATS telemetry, 55.4 km remaining, 2324 seconds ETA, a 75 MPH reported limit and finite world pose. The independent Local\\ETS2LARoute feed was absent, matching the installed plugin inventory. Details are saved in diagnostics/navigation-input-check.json.

ETS2LA's navigation reader documents a separate game-side feed of route node IDs with distances/times to the destination. Those IDs still require matching map geometry to produce turns, exits or an ego-relative path. The implemented read-only adapter opens only an existing route mapping, verifies snapshot consistency/format, and always marks it unsuitable for control. It does not create a mapping, open the ETS2LA input feed, or send steering commands.

The reviewed route exporter updates on a change in route node count and does not clear the previous route in its no-route branch. Its shared buffer has no heartbeat or route-generation ID. Identical node counts can therefore conceal reroutes; two matching reads do not establish freshness. Compatibility with this ATS 1.61 build also needs verification before installing or adapting a game-side exporter. A production bridge must publish its supported game/build and protocol version, heartbeat, route generation/hash, explicit route-active state, and bounded coordinate data. It must clear route guidance on cancellation, rerouting, pause, stale telemetry or map mismatch.

Next steps:

  1. The first route connection is now implemented without a new plugin: telemetry/gps_route_reader.py reads the live GPS task through read-only process access. It requires the exact verified ATS executable SHA256 and compares both loaded GPS getters with that file before reading pointers. Route array bounds, repeated pointer/array/node snapshots and SDK distance/ETA agreement reject mismatched or changing data. Each snapshot re-reads all route points, including same-count reroutes. Pause, stale telemetry and zero GPS distance clear cached guidance immediately. This build-specific adapter will refuse an ATS update until reverified.
  2. Run Run-Tesla-FSD-Navigation-Preview.bat for the original dashboard with the model camera, GPS map and next route bend. Leave F8 off and drive manually; F8 cannot enable driving in this mode. Route nodes are graph points, not a lane-center steering path; bends are not classified as exits or intersections. The preview matches world position, heading and advisor progress, then records coordinates and paired road/model frames. The first live parked check read a 52-point route and matched the truck to its current segment with 2.85 world metres cross-track error, 0.02 advisor metres progress error and heading dot product 0.9999998. All eight live snapshots matched. Next, record a manual bend, exit and intersection; verify rerouting and cancellation in the game. Use python -m tools.check_gps_route --duration 2 --render for a route-only diagnostic without any controller.
  3. Add a navigation planner or a compatible model accepting route context. Keep route instructions, lane changes and intersection turns distinct; the current model's lane-change pulse is not a general navigation-turn command.
  4. Validate supervised highway exits, then turns/intersections, speed changes, traffic lights, yielding and trailer clearance. A GPS route alone does not resolve obstacles, right-of-way or stop conditions.

The first manual navigation drive recorded 732 moving samples across 40.57 seconds. Route matching succeeded in 695 (94.95%), progressing through segments 3–6 with a minimum heading dot product of 0.99908. Median graph cross-track error was 2.91 world metres (maximum 7.01); graph offsets are not lane-center errors. Two SDK/GPS disagreement episodes hid guidance for 1.05 and 1.10 seconds. The reader now retains its verified read-only handle after snapshot disagreements and retries after 50 ms instead of forcing a one-second reconnect; strict data checks remain unchanged. This recovery change passes regression checks but still needs a moving retest. Only 575 of the 732 moving model frames passed the existing lane checks, so this run does not validate automatic navigation steering. Evidence is diagnostics/inset-cal-20261003-060527-828098/navigation-assessment.json. Reproduce the assessment with python -m tools.assess_navigation_recording <recording-directory>.

A subsequent run used the ordinary steering launcher (dry_run=False, manual pedals), without GPS route snapshots. Its first engagement lasted 0.480 seconds before a lane-confidence release; its second lasted 14.053 seconds before the existing 20 MPH limit released steering. The saved confidence-drop road image was unobstructed, so this release cannot be attributed to a HUD popup. That run does not validate the requested GPS bend/exit/reroute check. Evidence is diagnostics/steering-review-20261003-061208.json; the two release folders preserve exact model inputs. Use the Navigation Preview launcher for the next GPS recording.

Bounded GPS driving and road scene

Run-Tesla-FSD-GPS-Driving-Test.bat runs GPS-assisted camera steering and 12 MPH Chill cruise for at most 120 seconds. F8 engages after the existing camera/telemetry checks; F8 or physical driving inputs release control. The ordinary Run-Tesla-FSD.bat still uses manual pedals and now shows/records GPS. The GPS graph constrains camera-supported guidance; it is not a lane-center path and does not establish right-of-way at exits or intersections.

The October 3 GPS trial recorded 777 engaged samples over 43.06 seconds, with all 777 matched to the route. Measured steering and throttle followed the commands. Control released when the gearbox entered neutral. The 12 MPH setting had a remaining speed error on an uphill section. The Chill speed loop now learns a bounded throttle offset to compensate for load, clearing it on reset, stale telemetry, lower targets, overspeed and following limits. Its existing throttle/brake caps remain unchanged; this adjustment needs a moving retest. Evidence: diagnostics/navigation-drive-20261003-061834-419967.

The road scene preserves all four historical model lane-line outputs with their individual probabilities. It displays only confident observations, with brighter ego boundaries and dimmer adjacent boundaries. Four possible lines do not prove four lanes, and uncertain road geometry is not filled in. In the live parked exit-split check, the model confirmed only one boundary; it cannot yet supply an accurate complete highway layout at that location.

Nearby vehicles now come from a separate, read-only ATS actor adapter. The reader requires the exact verified ATS 1.61.2 executable, compares the loaded traffic getter with that executable, validates bounded lists and repeated snapshots, and checks the player's position against SDK telemetry. It excludes the player's truck/trailer and reports measured vehicle positions, dimensions and headings ahead, beside and behind the truck. The live parked check verified vehicles queued behind the truck and on the opposite carriageway. A game update disables this source until it is verified again.

The dashboard keeps its original camera preview and GPS map. Its surround view shows actual loaded actors, with model-observed forward lane lines in the same metric view. Coverage is incomplete: no displayed vehicle is not proof of a clear lane. Traffic observations currently improve the display and recordings; they do not authorize lane changes or select a traffic-aware route. Lane selection needs verified lane geometry, tracked gaps and an abort-capable planner before it can control the truck.

A local read-only map cache now supplies lane counts independently of the camera model. Seven nearby map sectors were completely decoded in format 907; the nearby highway's us_tmpl12 definition explicitly contains two lanes in the truck's travel direction. Both road endpoint IDs and coordinates matched the live GPS route. The current parked pose is just before that road, so the panel labels this nearby map information and does not claim lane membership. The dashed green curve is a sampled road reference; lane widths and template boundaries remain unverified. It is never used as a steering target.

telemetry/road_geometry.py verifies the game executable, archive hashes, loaded version and active mod order; it rejects stale/paused SDK poses, ambiguous matches and locations outside the local cache. The active Tesla mod has no map or lane-definition overrides. The cache and extraction evidence are under diagnostics/map-cache; rebuild it after game/map changes. Road definitions are matched read-only, and no game files or DLLs were changed. The measured reader startup was 0.76 seconds and median snapshot time 2.47 ms. Road-template PMD/PMG lane semantics still need a supported decoder before the map can supply physically accurate lane boundaries.

The original camera, GPS map and both dashboard layouts are retained. Run-Tesla-FSD-Passive.bat opens the combined scene with driving disabled and paired recording enabled. Use python -m tools.render_recorded_scene RECORDING_DIRECTORY --sequence N to review the exact recorded camera, model, traffic and map scene offline; the export marks unavailable observations and never replays controls.

The road-split view now includes verified roads attached to nearby junction prefabs, even when there is no verified current-road match inside the junction. Each arm stays separate; the panel does not draw a guessed path across the unknown interior. Fresh GPS node pairs that agree with cached map coordinates highlight matching road arms in blue. On the 2,195-frame October 3 recorded drive, all 302 formerly blank map frames gained junction approach context, with no change to the original road-match results.

Eight nearby freeway and town prefab types now have decoded PPD v25 AI lane connections from the installed game assets. All 75 mounted archives were checked for overrides. World placement validates every prefab attachment, including height; invalid, stale or unsupported geometry is hidden. Purple curves show authored traffic paths, with brighter GPS-matched connections. These are sampled AI lane centres, not decoded painted road boundaries; the game's exact interpolation remains unverified. The local cache covers these prefabs and is not a complete map of ATS.

control/lane_choice_preview.py reports stable corridors between adjacent confident model boundaries and forward tracked-vehicle footprint overlaps. It qualifies road height, preserves straddling overlaps, and marks incomplete side/rear coverage. It separately exposes authored input-lane indices matching GPS node connections. It does not identify a model corridor with a map input lane, recommend a lane, or permit automatic lane changes.

The stable inset retains a driver-seat anchor: its nominal origin is about 0.55 m left and 4.01 m forward of the truck origin. vision/scene_frame.py rebases independent display copies into the native truck frame using SDK rest positions and an explicitly captured seat baseline. Controller inputs and original recorded model arrays retain their existing calibration. diagnostics/scene-origin.json pins the truck, model, plugin and settings; changed rest positions or unsupported pose values reject alignment. Cabin heading/pitch/roll and truck body pitch/roll are applied to the camera anchor and copied geometry using the SCS SDK's documented rotation composition. Native map/traffic coordinates remain world-up with truck heading removed. Rotated lane polylines are resampled only within their common observed forward coverage, preserving the model's nonuniform spacing without extrapolation. The display envelope is limited to 5 degrees of cabin rotation and 15 degrees of body tilt; these limits do not authorize steering. The panel labels the result as an SDK pose estimate: final render extrinsics have not been measured. Missing alignment disables cross-frame traffic overlap assessment and native overlays on the model perspective.

The town cache adds the exact installed definitions for 2k046, 2o01g, 2k00w, 2o01h, 2o083 and us_12, alongside the two freeway definitions. Its signalized intersection uses version-25 semaphore records with the extra 16-byte tail retained as unknown metadata; the preview makes no traffic-light or permitted-turn claims. All seven prefab instances observed in the manual test pass attachment validation. Other pitched or incomplete instances still fail, and their rejection reasons are recorded. Authored raw lane slot numbers are preserved independently from filtered entry ordinals. Asset rebuilding verifies installed token bindings and archive precedence before atomic update.

Display-only traffic tracking reprojects the exact observed world positions into the current truck view, including cached measurements. At least three distinct observations are required for measured speed labels and relative motion arrows; repeated cached samples do not become new measurements. Unavailable/stale/paused samples hide actors immediately. Identity changes, teleports, clock resets and implausible motion reset the track. The same drive retained 2,111 fresh traffic samples and supplied measured motion in 1,591 frames. Tracking does not extrapolate positions or establish lane clearance.

python -m tools.replay_scene_context RECORDING_DIRECTORY --start N --end M creates a separate offline derivative with recomputed map/traffic context, unchanged model observations and copied exact camera frames. It never accesses the live game or replays controls; the export explicitly labels recomputation. Evidence: diagnostics/road-scene-context-replay-20261003-verified/. Use --scene-origin diagnostics/scene-origin.json only when explicitly replaying a matching historical camera configuration. Old recordings lack SDK rest vectors and cabin rotation; the derivative records which values were seeded from that nominal proof and does not describe them as measured at the historical frame. Camera images and original model arrays stay intact.

The earlier aligned replay of 2,195 frames includes authored junction paths in 1,134, stable observed corridors in 2,057, and forward footprint overlap in 935. GPS-matched authored input-lane indices are available in 859 frames. All historical frames are explicitly marked as seeded nominal pose estimates; no driving controls were replayed. Evidence: diagnostics/junction-path-aligned-replay-20261003/.

The latest manual bend/junction replay covers sequences 3301–4021 (721 frames). Recorded SDK cabin/body pose now permits display alignment in all 721 frames, recovering all 134 moving-frame rotation dropouts. Expanded town assets provide authored paths in 713 frames (previously 152) and GPS-matched input-lane indices in 699 (previously zero). Native traffic remains available in 674 frames, with measured motion in 434. The preservation audit checks all original model, telemetry and control fields, 8,247 actor world measurements and 53 exact camera image hashes. No pose was seeded, no controls were replayed, and no lane recommendation or clearance was inferred. Evidence: diagnostics/manual-junction-fixed-replay-20261003-verified/replay-audit.json. These are passive scene improvements; final render extrinsics and painted lane identity remain unverified. That stage passed 193 regression tests.

The follow-up live trial is preserved in diagnostics/town-junction-live-test-20261003/. Display alignment stayed available in all 1,239 moving frames, but the driving model was usable in only 589. ATS fatigue notifications obscured the input, including one frame that still passed the old model-confidence checks. The new auxiliary-camera guard checks the exact raw frame for the observed anchored notification panel before inference. A detection skips inference, resets temporal history, cancels pending or engaged controls, and saves the raw frame with previous model arrays marked stale. The panel and saved overlays hide that stale geometry. This detector covers the tested ATS notification layout; absence does not establish a clear road or detect every possible obstruction. Exact hashed camera fixtures are included under tests/fixtures/camera-obstruction/.

The same trial exposed a GPS rejection when the first stored route node was ahead of the truck. The reader now validates a bounded approach using SDK pose, height, heading, local distance scale and remaining-distance consistency while preserving exact native nodes and IDs. That connector is an estimated display schematic, never a road or lane center; the driving planner rejects it. Endpoint and residual diagnostics are retained on rejection, and a large GPS progress jump invalidates the cached route immediately. A qualified comparison using a later accepted node array supports 382 of 384 settled poses; it does not prove that array existed at the historical rejected frame. See diagnostics/town-junction-lead-in-candidate-20261003.json.

The passive route/corridor check compares directed GPS/authored paths with fresh unobstructed scene-aligned model boundaries over measured 5–30 metre coverage. It rejects missing, folded, disjoint, stale or ambiguous evidence, and labels a unique candidate as an estimate. It never recommends a lane, grants clearance or controls the truck. Nearby junctions explicitly require manual handling because STOP requirements, signals and right-of-way remain unverified. The earlier trial produced no supported route/corridor match. Active steering calibration remains specific to the Pinnacle. The Peterbilt 579 now has a separate nominal display origin in diagnostics/scene-origin-579.json: 30 fresh stationary SDK samples and four fresh camera-hook records, with the model, plugin and settings identities checked before and after capture. It aligns display copies using the 579's own cabin/head rest configuration. The original Pinnacle proof and active calibration remain unchanged; the 579 proof cannot authorize control or claim measured final render extrinsics. The live panel selects the matching truck's display proof, and offline rendering preserves that selection per recorded row. Capture again while parked with python tools/snapshot_scene_origin.py --truck 579 --output diagnostics/scene-origin-579.json. The tool refuses paused, stale, moving, mismatched or unstable measurements. The 579 follow-up passed 237 tests, and the live parked panel confirmed display alignment with controls off. See diagnostics/scene-579-live-check-20261003.json. The first lock-measurement window contained no head movements, so full-look stability and moving calibration remain pending.

The subsequent 579 sweep revealed a left-window failure: camera frames show cabin/grille geometry starting around 112 degrees of left yaw in the reviewed examples, while right-pan frames remain forward. Some grille frames still passed model confidence. diagnostics/579-left-pan-20261003.json preserves the paired evidence. Until the native correction is validated, the auxiliary input guard rejects the 579 above 80 degrees left yaw or with more than 5 cm left head displacement. Position also catches the left-window branch across yaw wrap. The runtime rereads head telemetry after capture, skips inference, clears history, marks old geometry stale and releases pending/engaged controls. This is a restricted pose envelope, not general grille/traffic recognition.

ForwardCamera 0.2.4 adds a diagnostic-only 60-second render pose trace at at most 10 Hz. It records the actual composition quaternion, SPF/SDK head angles, interior-outside state, translation and offsets; camera correction is unchanged. The minute starts only with fresh, unpaused, stationary SDK telemetry and the parking brake set; menus cannot consume the recording window. python tools/prepare_camera_trace.py previews the hashed diagnostic installation. --apply requires ATS closed, backs up the DLL/settings/manifest, preserves the historical proof files and explicitly invalidates active camera calibration. python tools/analyze_render_pose.py <ForwardCamera.log> --recording <recording-directory> compares the recorded angle sources and offset composition using fresh parked telemetry. All 259 Python checks and native diagnostic/build checks pass; a new trace and camera correction are still required before full-left stability can be claimed. The installed diagnostic's first minute missed the manual sweep. A parked SPF Framework reload rearmed it without restarting ATS. The second trace captured the sweep: corrected orientation drift stayed below 0.002425 degrees, yet the held-left raw image still showed the grille while SPF/SDK angles agreed. This narrows investigation to camera position/visibility; it does not verify the render origin or authorize control. See diagnostics/579-rearmed-render-sweep-audit-20261003.json. All 129 guarded rows skipped inference and marked old geometry stale, with no driving commands. The analyzer retains only the latest SDK timestamp epoch after a reload; the camera outside flag is descriptive and cannot disqualify a centered baseline because it is also true in the observed forward view. This follow-up passed 221 regression tests. The restarted passive panel was checked with the 579 parked: fresh inference and GPS preview were available, controls remained off, and scene alignment correctly rejected the truck's unverified calibration. See diagnostics/road-scene-guarded-live-check-20261003.json.

Analog vJoy setup

Use the official signed vJoy release (v2.2.2.0 was checked). Installation requires the Windows administrator prompt and may require a restart. No virtual-controller driver is bundled or installed automatically.

  1. In Configure vJoy, enable device 1 with X, Y, and Z axes. Close other vJoy feeders so the assistant can acquire it.
  2. In ATS Controls, select keyboard plus vJoy, using the steering-wheel control type. Bind X to steering, Y to throttle, and Z to brake, with separate pedal axes in centered mode, using center-to-maximum for pedal travel. To move an axis during binding, run python -m control.bind_vjoy steering (or throttle / brake), then return to ATS and select that axis within five seconds. The helper stops after twelve seconds and refuses to operate while ATS is unpaused. Use linear steering (nonlinearity zero), minimal deadzone, and normal steering direction: decreasing X turns left. Pedal center must mean released and maximum must mean fully pressed; use normal (uninverted) centered pedal mode.
  3. Verify the ATS input bars before driving: X midpoint centers the wheel, Y/Z midpoint release the pedals. The parked telemetry check passed on this installation on October 3, 2026.
  4. Launch with python main.py --backend vjoy --lane-only --speed 15 for the first lane test. F8/Escape and physical steering/camera keys take over. Manual pedal keys are allowed in lane-only mode.
  5. Once direction and lane tracking are verified, use python main.py --backend vjoy --speed 15 to test cruise and braking.

The desktop steering launcher explicitly uses the validated vJoy device. The direct CLI default --backend auto selects vJoy when its matching DLL is installed, otherwise keyboard feedback. An installed but disabled, unconfigured, or busy vJoy device produces an error rather than silently changing backends. --backend keyboard explicitly selects the fallback. Dry run and diagnose never acquire a vJoy device or change its axes.

If menu binding is inconvenient, python -m control.configure_vjoy "PROFILE_DIRECTORY" previews the bindings using vJoy's exact device identification from game.log.txt. Close ATS and add --apply to save a timestamped backup and set the three axes, centered pedals, linear steering, and zero deadzones. This uses SCS's documented input format; verify the resulting input bars when restarting ATS.

vJoy sends a steady wheel position and independent pedal values instead of pulses. Disengagement, focus loss, stale commands, and shutdown center steering and release both pedals. Physical keyboard takeover is supported; physical gamepad/wheel takeover is not yet monitored.

Validation and diagnostics

python -m unittest discover -s tests -v
python main.py --diagnose
python main.py --dry-run --no-hud --duration 30
python main.py --speed 15
python main.py --lane-only
python main.py --backend vjoy --lane-only --speed 15
python -m control.verify_vjoy
  • Diagnose reports game/provider/telemetry health without injecting controls.
  • Dry run checks readiness and logs intended controls and perception measurements without applying them. Manual pedal keys are allowed during passive tests.
  • Lane-only mode allows manual throttle/brake; steering/camera controls still take over.
  • Speed accepts 5–55 MPH (default 15). Runtime logs go to diagnostics/session.log.
  • The actuator watchdog releases analog inputs after a 500 ms command stall (keyboard: 250 ms); focus loss releases immediately. Game state is refreshed after inference before applying controls.
  • vJoy sends direct analog positions. The keyboard fallback uses pedal pulse modulation and measured steering feedback.
  • The vJoy input check requires the driving view, fresh telemetry, a stationary truck, parking brake, and either neutral gear or the engine off. In simple automatic mode, use E to turn the engine off for this check. It sends brief 20% steering/pedal commands, compares ATS's reported user inputs and camera orientation, verifies release after shutdown, and saves diagnostics/vjoy-input-check.json. Every exit centers steering and releases pedals. A passing parked input check precedes lane-keeping tests.

Current validation

76 regression tests passed, including capture isolation, calibration recording, live camera health, independent-camera readiness, engagement confidence, comfort cruise, model pins, parked setting changes, passive path/signal previews and read-only GPS route geometry. GPS tests cover same-count route changes, torn snapshots, stale/paused/cancelled routes, SDK mismatch, recovery from a GPS update disagreement, wrong builds, pose/heading matching and left/right bends. The installed telemetry and vJoy device have been verified live. The parked input check measured left/right steering at +/-0.20, independent throttle/brake at 0.20, unchanged camera orientation, and zero controls after shutdown. Centered pedals also removed the previous idle 50% throttle/brake.

The initial October 3 passive inset drive recorded 298 telemetry samples and 50 model-camera images. Of 52 moving one-second model reports, 50 had usable lane geometry; those reports had median left/right confidence of 0.96/0.93 and lane widths of 3.60–4.37 m. The final two low-confidence reports coincided with pulling onto the shoulder, confirmed by saved images. Brief confidence drops also occurred between reports, so these counts are not a per-frame pass rate. Head rotation stayed constant during this drive; moving cabin looks and live projection alignment remain to be checked in that initial drive. Evidence is in diagnostics/manual-inset-calibration/summary.json. This run used ONNX Runtime DirectML; the current Python runtime exposes DirectML and CPU providers only.

The subsequent live calibration saved the actual model output paired with each input frame. Of 266 moving frames, 253 had usable lanes; all 155 frames during cabin looks had usable lanes, with median left/right confidence of 0.97/0.96. Reviewed overlays align with lane paint. Lane z already contains camera-relative height in the historical decoder; adding another 1.22 m produced an incorrect review overlay, which was corrected against the original UI source. The reviewed evidence is diagnostics/inset-cal-20261003-044742-900055/summary.json. The inset is now calibrated only for a limited --lane-only test with manual speed. Active startup checks the model, truck, plugin and settings identity; missing, stale, or stopped render/translation correction blocks or disengages control. Speed above 20 MPH also disengages the inset test. The default desktop launcher now opens the limited steering test. With CPU inference, an active inset road test stayed engaged for 21.054 seconds at sampled speeds of 9.4–16.9 MPH. It applied only small steering corrections while the user controlled speed. Manual takeover released control; fresh parked telemetry then showed zero steering and pedals. Evidence is diagnostics/inset-steering-20261003-045631.json. This validates a short, mostly straight centered-view test. A later attempt disengaged after 0.214 seconds on a confidence dip before active cabin looks could be checked. The next run stayed engaged for 25.029 seconds during mouse-look, including sampled yaw from -80.3 to +59.1 degrees, before releasing on a lane-confidence drop. Another episode released at the 20 MPH speed limit. Fresh parked SDK telemetry showed zero steering, throttle and brake after test shutdown. Evidence: diagnostics/inset-steering-20261003-050109.json. These are short supervised tests; bends, intersections and general lane-change behavior remain unvalidated. On automatic inset release after successful inference, the runtime saves the exact model input, matching live outputs, input age and release telemetry under inset-release-* after releasing controls. This diagnostic has now been exercised by multiple live releases.

Saved release images exposed ATS notifications over the road inset: first a fatigue warning, then "Kingman discovered." Fatigue was disabled in the backed-up Ger profile, but that did not remove discovery notifications. Manually pressing F3 hid the widgets for the next test. Keep widgets hidden while using screen capture; clipping out a popup cannot recover the road it covers. Longer-term capture before the game's UI would remove this dependency.

The runtime permits at most 150 ms of marginal lane confidence (both scores at least 0.30), holding the last steering and releasing pedals. Holding frames do not renew the deadline. Geometry faults, lower scores, camera faults and other readiness failures still release immediately. Live evidence caught a 46 ms dip that recovered, followed by release when a fatigue popup drove confidence lower.

After hiding widgets and adding predictive, ramped comfort braking, the restricted Chill test stayed engaged for 67.287 seconds. The 15-to-8 MPH target change used at most 0.05 brake in one-second control reports, tapering to zero before reaching the target; sampled speed settled around 7 MPH (minimum 6.8). The previous attempt used 0.23 brake and sampled 5.6 MPH before a discovery popup forced release. The new run released when the truck entered neutral. Fresh parked telemetry after shutdown showed zero steering/throttle/brake. Evidence is diagnostics/inset-cruise-20261003-052254.json and its matching log. This validates a short straight-road response with a remaining speed error; ordinary inset cruise remains restricted to the bounded test launcher.

Use --inference-provider cpu on this installation to avoid GPU contention with ATS. In a foreground-game benchmark, CPU inference took a median 6.60 ms and a maximum 7.29 ms; DirectML took a median 2.18 ms but spiked to 501.23 ms while another DirectML session was also running. The first CPU road test's one-second control reports showed 6–7 ms inference. Three same-input recurrent steps agreed between providers within 0.000367 maximum absolute output difference. The model has not been changed or connected to ROCm. auto remains the direct CLI default, and --inference-provider directml explicitly requires DirectML.

For the corrected inset, F8 preserves model history only if the most recent inference is less than 250 ms old. Other camera modes and stale history reset as before. Inset preflight requires ten consecutive usable frames with both lane confidences at least 0.55; active release retains its 0.35 threshold.

The initial cabin road test disengaged on implausible lane geometry. Its crop did not match the historical MED model projection. A corrected bumper-camera crop passed all 30 sampled frames with about 99% lane confidence and 3.29 m lane width. This crop was checked at 2560x1440; other camera/FOV setups need validation. --camera cabin retains the experimental cabin mode. The forward bumper view is the validated default.

Live validation on October 3, 2026:

  • In the earlier bumper-camera test, steering-only control remained engaged for about 40 seconds through a bend at roughly 20–23 MPH, with measured wheel input following the command.
  • Combined lane keeping and cruise remained engaged for about 47 seconds. It accelerated from 1.6 to 14.0 MPH toward a 15 MPH setting, tapering measured throttle from 0.45 to about 0.08 and coasting near the set-speed deadband.
  • F8 disengagement returned measured steering/throttle/brake to zero. Camera telemetry stayed centered throughout.
  • Both pedals passed the parked 20% input check, including release after feeder shutdown. The moving braking check engaged at 12.3 MPH and reduced the cruise setting from 15 to 8 MPH. It commanded 0.29 brake, slowed to 7.1 MPH by the next one-second log sample, then resumed light throttle after dipping to 6.4 MPH. This verifies braking response; the speed loop still needs tuning for smoother set-speed changes.
  • The braking diagnostic exited normally after its timed run. Fresh SDK telemetry then reported zero steering, throttle, and brake inputs, with unchanged centered camera orientation.
  • Focus/stalled-command release and stale/paused SDK rejection are covered by regression tests. DirectML frame spikes caused false 250 ms analog timeouts; the analog deadline is now 500 ms, with game state refreshed after inference.

Clearly marked roads are required; intersections and lane changes are outside this first milestone. This is a custom Supercombo simulator controller, not the full openpilot stack.

Contracts and sources

Pop Model v2 is installed as an experimental, passive option (--model pop-v2 --dry-run --path-preview). Both original split ONNX files are SHA-256 pinned; the March 24, 2026 catalog entry resolves to commaai/openpilot revision 62bf6fb072880905a4c490f0f4f4a6b3c23346ec. It uses 200 ms image pairs and 25 feature samples over 4.8 seconds, with a separate wide camera input. Its unary trajectory has no plan-selection confidence. This Windows runner uses ONNX Runtime CPU or DirectML; it is not ROCm.

The complete 33x15 motion plan is now decoded into position, three-axis velocity, acceleration, orientation and orientation rate, with the pinned quadratic time grid. control/pop_model_actions.py extracts curvature from planned yaw and initial yaw rate, and acceleration/stop intent from planned forward speed and acceleration using the pinned upstream action formulas. It retains upstream 0.05-second smoothing steps and 0.3-second longitudinal smoothing. The default ATS lateral and longitudinal delays are each 0.2 seconds and are explicitly unvalidated. Missing complete modern outputs are marked unavailable; older recordings cannot supply acceleration or stop intent from position alone. These actions remain previews and never command pedals.

The current 2560x1440 layout keeps the road inset at left 2016/top 32. Install-Pop-Camera-Rectification.bat installs the native asymmetric SBIG profile using ForwardCamera 0.2.6, native pitch zero, equal 58.727464-degree full-frustum FOVs and a bottom-origin subrect at y=0.296484375, height=0.5. This uses SCS's documented frustum cropping to target SBIG intrinsics fx=fy=455, cx=256, cy=151.8. The narrow MED input is derived with nearest-neighbor sampling. The camera XYZ offset and cabin view are preserved. The earlier MED/top-right and pitched SBIG installers remain historical profiles and are not interchangeable with the current one.

The asymmetric installer was applied with backup diagnostics/inset-top-right-backup-20261003-125918-777899. It re-prepares and checks exact current hashes while ATS and the runtime are closed, uses transactional backup/rollback, and requests elevation only if ordinary writes are denied. Preparation alone leaves installed files unchanged. Prior control and nominal-origin proofs are invalidated. Native FOV/subrect readback was observed after restart, but final rendered physical pose and control calibration remain unverified. Inset placement cannot guarantee every game overlay stays outside the camera.

Run-Pop-v2-Preview.bat keeps driving controls off and records both real camera streams for two minutes after the truck starts moving, at up to 20 saved frames per second. It waits indefinitely with sparse parked evidence until forward motion is observed. Actual timestamps are retained; missing frames are not synthesized. The earlier 67-frame comparison in diagnostics/pop-v2-cold-frame-comparison-20261003.json uses independent cold inference and a duplicated narrow input. It cannot establish better road performance or authorize laneless control. The default driving launcher still selects the original model.

Pop evidence recording now uses a bounded background writer with eight queued jobs. A full queue drops evidence instead of blocking inference; attempted sequence gaps and drop ranges are explicit. Shutdown drains accepted jobs and records final counts, flush state and any writer error in writer-status.json and writer-events.jsonl. A recording is complete only when final status confirms full flush, zero drops and no writer error. Rows now retain the full modern motion plan, model actions, trajectory assessment and actual context coverage. Recorded drops are evidence gaps, not interpolated camera frames.

The October 3 Pop moving preview captured 1,019 moving frames over about 87 seconds at 2.2–24.7 MPH. Of these, 933 passed the basic trajectory geometry checks; 47 exceeded the lateral bound and 39 had nonmonotonic forward geometry. These checks do not establish road safety or confidence. The run had a capture gap and a median cadence near 13 Hz, below the expected 20 Hz. Controls remained off throughout; the camera/model control calibration remains unvalidated. See diagnostics/pop-v2-wide-moving-drive-audit-20261003.json for paired evidence.

Auxiliary runtime capture now reads the exact 512x256 inset directly after checking the ATS client resolution and rectangle, instead of copying the entire 2560x1440 client. Full-client capture remains available for diagnostic callers. Pixel equality, window offsets, changed resolution, and unavailable camera rejection are tested. A ten-frame parked profile of the installed asymmetric view measured median capture 15.55 ms and inference 20.73 ms in diagnostics/pop-v2-rectified-preview-performance-20261003.json. It excludes actual display/event-pump and disk writer costs, and does not establish moving performance or upstream 20 Hz cadence. The passive Pop panel redraws at 5 Hz while its input events are handled with nonblocking pollKey every loop and model capture targets 20 Hz. Actual inference timestamps and context coverage remain authoritative; the panel's loop FPS is not a cadence proof.

Pop path preview now uses control/pop_trajectory.py rather than the unfiltered trajectory steering calculation. It assesses only the ascending near-path prefix covering the steering horizon, checks predicted path and road-edge uncertainty, requires actual complete temporal context and distinct fresh frames, and warms stable observations before producing capped, rate-limited steering. Painted lane probabilities are not an admission requirement. Missing or uncertain evidence resets tracking; no previous command is held through it. The current preview implementation uses the modern yaw-derived model action for curvature after these admission checks. Geometric point-tracking remains available for explicit historical replay. Curve-speed advice and desired acceleration/stop intent are advisory only and do not command the pedals.

The existing Pop preview launcher records paired decisions and the full motion plan. The dashboard displays readiness, steering, acceleration/stop previews and path uncertainty. Every controller decision explicitly keeps control_eligible=false and controls_applied=false; active Pop invocation continues to be rejected before model/controller acquisition.

Run-Pop-v2-Steering-Trial.bat is a separate supervised simulator experiment: three distinct fresh parked-neutral snapshots arm the launcher, then one user F8 press can request at most 15 seconds of steering at 24–28 MPH (target 25–27 MPH) with manual pedals. An unready F8 press shows its refusal reason and leaves the panel in standby without acquiring controls or consuming the single admitted attempt; a later attempt requires another human F8 press. Standby expires after five minutes. It uses the pinned asymmetric 579 camera. Read-only vJoy capability queries are warmed before model history starts; the retained DLL is revalidated and acquired only after a ready human F8 press. It uses real paired temporal coverage, modern yaw actions and the existing uncertainty/road-envelope checks. Edge uncertainty must be at most 1.5m to engage; only this active experiment allows a continuation band up to 1.75m, while every frame still passes the unchanged uncertainty-adjusted corridor and other quality checks. The descriptive local steering gain is 0.1254; requests outside normalized steering [-0.05, +0.03] (right/left) are rejected, and output changes are limited to 0.1 axis units/s. F8, Escape, manual steering, focus loss or any failed active guard ends the attempt and releases vJoy ownership. Records distinguish queued commands, successful worker writes and independent SDK observations; trial-status.json records final release even when the last image row was active. After release, the panel stays open with the stop reason and an explicit frozen-snapshot label; controls and recording are already closed. Escape or the window's X closes it. This launcher does not grant physical camera calibration, validated model delays, production eligibility, pedal control or junction competence. python tools/run_pop_steering_trial.py --diagnose --no-hud checks assets and parked startup without acquiring controls or creating a keyboard hook.

Historical geometric replay of the captured drive accepted only 76/1,019 moving frames, with a longest accepted interval of 1.53 seconds. Most denials were predicted path or road-edge uncertainty. This is insufficient for sustained driving; thresholds have not been relaxed to make the recording pass. The replay preserves actual timestamps/context, reports missing historical velocity as unavailable, and does not reconstruct missing modern actions or simulate steering feedback. These counts do not validate the newly installed asymmetric camera or modern yaw-action strategy. Delay assumptions, final camera pose, moving live cadence and closed-loop vehicle response remain unvalidated. Report: diagnostics/pop-v2-trajectory-controller-replay-20261003.json. Reproduce with python tools/replay_pop_trajectory.py diagnostics/inset-cal-20261003-123419-822490.

After the asymmetric camera installation, the completed manual drive in diagnostics/inset-cal-20261003-130507-234700 produced 2,091 moving observations over 120 seconds. The modern yaw-action preview accepted 1,299/1,948 observations within its supported speed range (66.7%); 143 exceeded the 30 MPH preview limit. Its longest uninterrupted accepted preview lasted 44.4 seconds. Median actual inference cadence was 17.3 Hz, with complete context on 95.3% of moving rows. All 2,095 evidence rows flushed with zero writer drops/errors; 1,880 rows include camera image pairs at the configured maximum save frequency. Controls stayed off. Camera, controller strategy and route conditions differ from the earlier drive, so this is not a controlled comparison or physical calibration proof. See diagnostics/pop-v2-rectified-live-audit-20261003.json. The subsequent bounded, panel-free timing run recorded 403 moving observations at median 19.89 Hz with zero writer drops/errors. This isolates a feasible model-loop budget, not sustained panel-inclusive cadence or control validation; the nonblocking panel event change still needs live timing verification. See diagnostics/pop-v2-rectified-no-hud-timing-audit-20261003.json.

A subsequent short parked run with the nonblocking panel recorded 160 frames at median 19.83 Hz. Three intervals exceeded 150 ms (maximum 512 ms), so this does not establish sustained moving cadence. Final evidence flushed without writer drops/errors. See diagnostics/pop-v2-panel-poll-parked-audit-20261003.json.

tools/measure_stationary_steering_response.py performs only small parked steering steps with neutral between them. It requires distinct fresh SDK samples, neutral gear, the parking brake, foreground ATS and released manual inputs before acquiring vJoy; guard failures release and close the device. The October 3 run reached 90% of the +/-0.1 SDK steering targets within observed 41-61 ms brackets and verified neutral after shutdown. This includes feeder, game and SDK observation latency; it is not a moving yaw-delay measurement. See diagnostics/stationary-steering-response-20261003.json. Older 579 highway recordings independently suggest local left-positive curvature approximately equals 0.1254 times normalized SDK steering, over the observed small steering/speed range. These estimates do not grant camera or full-range steering calibration. New active command records timestamp command enqueue separately from loop start; neither timestamp is a driver acknowledgment. See diagnostics/579-steering-response-existing-evidence-20261003.json.

The model hash and tensor layout are pinned in models/manifest.json. Its original training/export version is unrecorded. The matching historical 6409 decoder includes five trajectory hypotheses, odd-index lane probabilities, five lead hypotheses, separate lead probabilities, and 512 recurrent-state floats. Plan selection weights are not treated as road-view confidence.

Telemetry opens an existing Local\\SCSTelemetry mapping and requires revision 12 / ATS, active SDK, unpaused state, and changing timestamps. Missing telemetry blocks engagement. Speed, gear, steering, pedals, engine/parking state, and head orientation use the versioned layout.

Files

The October 3 Tesla Semi shoulder departure is addressed by control/gameplay_road_tracking.py. It confirms an ego-containing observed lane over three frames, compares its identity using SDK vehicle motion, and tracks its near center with a 12–25 m lookahead. Validated GPS/signal maneuver paths retain precedence. Paint gaps propagate the observed corridor for up to one second. A further bounded recovery is allowed only when fresh matching GPS and current model geometry agree with the motion-projected acquired lane, the truck stays near its center, and observed lane coverage remains. It expires after two seconds, inhibits acceleration, and gently reduces the speed target. Longer or contradictory loss brakes and fades steering toward neutral instead of following an uncertain off-road forecast. Model-only laneless following remains available before a lane is acquired. A large uncertain local forecast also requests braking. F8 and manual takeover still release all controls.

Tesla Semi gameplay uses descriptive steering gain 0.1535, estimated from 195 moving SDK samples in diagnostics/tesla-steering-response-20261003.json; the 579 retains 0.1254. Neither is physical calibration. Reproduce the saved failure-frame decision comparison with python tools/replay_gameplay_road_tracking.py diagnostics/pop-gameplay-20261003-165000-855391 --output diagnostics/wmi-road-tracking-replay-20261003.json. This replay preserves the original truck trajectory and images, so it does not prove the outcome of a changed closed-loop drive. Independent kinematic tests cover delayed steering on a curve, short marking gaps, lane identity jumps, validated lane changes, and braking after a prolonged road loss.

tools/build_tesla_screen_addon.py prepares a separate companion .scs for the installed Tesla Semi mod. The left screen keeps native imperial truck instruments (speed, gear, limit, ATS cruise, clock, signals and parking brake) above an independent live app tile showing Autopilot state/release reason, MAX, pedals, following distance, trailer state, lights and SDK warning flags. The right 1024×512 screen has a legible road/traffic scene beside an active GPS route map, next verified route bend, remaining miles and ATS-clock arrival time. The ego tractor uses a Tesla Semi cab-over mesh, with actual trailer attachment and articulation retained. Camera input remains hidden unless requested in the desktop panel. ui/dashboard_stream.py publishes both display-only BGRA streams. The Tesla mod reflects the right surface vertically; both placeholder and live uploads reverse their image rows so the cabin display reads upright. Missing or failed display publishing cannot interrupt gameplay controls. The native texture consumer and add-on must be installed and enabled before the screens can show live app data. Original mod files are preserved. The earlier right display was observed upright on 2026-10-03. On 2026-10-04 the corrected dual-stream build reached a powered, parked cabin without repeating the entry crash; the right road/map panel was visibly upright and native logs reported two marked textures with fresh left/right frames. The left physical screen originally sampled separate UV regions. A source-pinned companion mesh override remaps only those display vertices to one continuous native dashboard; the powered cabin then showed the new speed/gear layout and removed the baked truck artwork. The status-image cursor/tint/layer fix was then observed in the powered cabin: native speed/gear/clock/cruise fields and the live Autopilot status/indicators/warnings tile are upright and visible across the full left surface, alongside the upright right panel. No repeat entry crash was observed. Moving display stability remains unverified; see diagnostics/ats-crash-20261004-220212/verification.json and its cabin screenshot. The gear instrument uses native transmission mode (ID 1380): D/N/R/M, rather than the gear-number field that emits A5 and similar automatic gear labels. The native bridge retains its last valid texture through short producer gaps, handles both UNORM/sRGB views and uses cached replacements during contention. After two seconds without valid frames the right view dims and says DISPLAY OFFLINE, while the left app tile returns to APP OFFLINE with native instruments still updating. Fresh producer frames restore both streams independently. With ATS closed, Install-Tesla-Screens.bat installs the companion and the enabled display prototype (both its own flag and SPF's TruckScreen flag). Activate "ATS OP Tesla screens" above the original Tesla Semi in Mod Manager. The native TruckScreen log must show marked textures, fresh HUD frames, and replacement binds before live integration can be claimed. This display prototype requires a normal game restart for updates; see native/truck_screen/README.md for supported texture scope and rollback.

ui/map_background.py expands only display road references from mounted game archives on a bounded background worker (36 sectors by default). The blue GPS route comes from the native route graph, not a fabricated ego connector; map references are not control lanes. Heading-up and overview displays share smoothed visual pose/zoom, while control uses original telemetry. R in the desktop panel toggles route overview. Unknown street names, exit numbers and destinations are not invented. tools/preview_cab_screens.py renders a labeled offline preview from a saved drive; tools/expand_display_map.py prepares the display cache without changing installed game files or steering map caches. When the stable native route array agrees with the SDK trip but the truck's approach to its first node cannot be qualified, the map shows only the actual route nodes with a connection-unverified label. It adds no approach connector or turn instruction, and GPS control still receives an unavailable route. That display-only geometry expires on stale telemetry or a destination change.

Gameplay speed holding now brakes gently for small overspeed when ATS coast drag is absent, releases early using measured deceleration, and uses separate braking-entry/release thresholds to reduce pedal cycling. SDK-observed native ATS cruise produces an explicit conflict instead of trying a guessed cancel key. Lead emergency braking remains independent of confidence recovery. Native live signal phases and authored stop points are now decoded and joined to selected prefab paths. Restrictive stopping has a separate native planner; green alone does not establish intersection priority or authorize entry.

The active development goal is an ATS-native navigation planner. The separate native launcher operates without openpilot or Pop/WMI inference. The earlier model launcher and assets remain available for development rollback while the native backend is validated on representative roads.

The implementation order is:

  1. Repair the recorded trailer-chain traffic failure, exhausted-lane tracking, and stopped-queue GPS short-horizon disengagement; replay the saved failures before another ordinary drive.
  2. Separate shared geometry types from model inference. Build a timestamped driving scene and connected lane graph from mounted road definitions and prefab navigation curves, with actual lane placement, drivable boundaries, directed connectivity, vehicle pose and attached-trailer geometry. GPS road references and display-only curves must not be substituted for lane centers.
  3. Give that planner smooth traffic following, stopped-queue holding/restart, curve and route speed targets, and an adjustable maximum in imperial units.
  4. Plan turn-signal lane changes, GPS exits and intersection turns using the connected lanes and observed clearance. Live light phases and authored stop points are joined by exact prefab/curve identity; complete stop-line spans, protected phase arbitration and unsignalized right-of-way remain unfinished.
  5. Render the same selected lane, route, maneuver, target speed and stop reason on both Tesla Semi screens. Retire inference from the driving runtime once the native planner has demonstrated replacement coverage.

Completion requires representative mixed-road driving with lane holding, smooth traffic stops/restarts, correct GPS maneuvers and traffic-rule stops, stable screens, and explicit handling of genuinely missing data. Passing unit tests, a model change or a short straight drive alone is not completion. Keep archived model assets available for rollback; they are not required inputs to the target native planner.

main.py orchestrates readiness, F8, takeover, perception, controls, HUD, and logs. runtime_checks.py contains readiness checks. control/windows_input.py owns correctly sized Win32 input, ATS discovery, and the takeover hook. control/fsd_controller.py tracks paths and modulates keyboard controls with feedback and a watchdog. telemetry/ats_telemetry.py reads the versioned plugin mapping. vision/screen_capture.py captures the ATS client area and packs two-frame YUV. model/openpilot_brain.py executes and decodes the pinned model. ui/tesla_fsd_hud.py shows real telemetry and health.

ATS-native experimental driving backend

Run-Native-Drive.bat starts tools/run_native_gameplay.py without loading openpilot, ONNX, Pop/WMI inference, camera tensors, or temporal model history. F8 still owns engagement and release; Home/End adjusts MAX in MPH. Controls follow the selected directed native GPS lane, measure actor/trailer contact along that same path, and use SDK speed for smooth following and queue restart. The screens and evidence recorder receive the actual commanded trajectory. Native evidence explicitly has no camera or inference outputs. Use --cab-only to keep both live cabin displays without rendering a separate desktop window. The default launcher retains the optional desktop panel.

The local mounted-map cache covers nine sectors: 2,549 road-lane candidates, 2,061 prefab paths, and 4,739 directed connections. Full quaternion placement now resolves graded prefabs. Independently measured spans qualify only their observed intervals. The native launcher additionally opts into complete PPD curves derived from the published SCS stored-length cubic and verified asset placement, plus 2,483 ordinary road primitives from a pinned reverse-engineered stored-length/full-quaternion formula and measured cross-sections. These are experimental source qualifications, not empirical tests of every curve. Fifty-eight banked lanes and eight profile transitions remain excluded, and the speed planner stops before qualified coverage ends. Ordered arc-distance trajectories retain sharp turns without sorting or extrapolating a path.

The native graph is now a persistent cache rather than a one-shot artifact. NativeLaneGraphManager keeps the last verified graph, watches the current pose and the live GPS route, and launches the bounded extractor in a separate process before the route reaches an uncached sector. Completed sectors are deduplicated by stable lane identity and atomically merged; a changed ATS or mod archive starts a new graph instead of mixing incompatible geometry. The control loop never waits for extraction and never engages without current route coverage, so a rebuild no longer requires restarting ATS or manually replacing the graph.

Setting or changing the ATS GPS route now starts a background whole-trip lane plan in control/native_trip_planner.py. The cache manager preloads every route sector, including intermediate sectors on long GPS edges. The planner works backwards from the destination over actual lane connections, so an earlier fork uses the lane needed by a later exit. It records required road lane changes and looks for connected truck-compatible detours around unsupported GPS segments. Off-route detours require positive player-truck access metadata; NPC geometry alone cannot authorize a shortcut through a yellow X barrier or inaccessible scenery. Live lane changes still require exact mounted boundary permission and fresh vehicle/trailer clearance; a planned maneuver does not authorize a lateral jump. Route preparation takes priority over passing and does not depend on finding a slower lead vehicle.

Plans are bound to the GPS revision and verified mounted graph. GPS changes invalidate old policies; compatible cache extensions keep serving the previous policy while a worker refreshes it. Full reports are saved under diagnostics/native-lanes/trips/, and the right navigation screen shows loading or upcoming gaps and displays generated truck detours. Missing geometry, unconnected lanes and truck-restricted paths remain explicit gaps, rather than being labelled a complete route. This is a trip lane plan, not a promise that traffic, signals or temporary roadwork will be clear when the truck arrives. SCS prefab allowed-vehicle flags describe NPC preferences, rather than player access restrictions. A source-qualified small-vehicle variant can be used as a fallback only for the exact node pair requested by the live game GPS, while truck-preferred variants retain a routing advantage. Explicit mounted player access switches override this fallback. Legacy zero access masks are unknown; the access decoder does not claim complete coverage of invisible collision walls or dynamic closures. See the SCS prefab locator documentation and telemetry/native_player_access.py for the separate contracts. python -B tools/check_native_trip.py reads the live trip without actuation; --route <saved JSON> checks an offline route or SDK capture.

control/native_signal_planner.py joins authored cross-line start points to the first actual governing semaphore by exact prefab/curve identity. The native controller can restrict speed and hold the brake for that point. Experimental green entry requires supported absolute authored priority, fresh measured traffic motion, complete observed traversal and coverage through the prefab exit. This is a permissive observed-gap policy, not protected-phase proof or exhaustive clearance; permissions expire after 0.2 seconds and cap entry speed at 8 m/s (about 18 MPH). Unknowns and conflicts retain a hold. Unsignalized priority and native turn-signal lane changes remain unfinished. Retain model assets for rollback until representative mixed-road drives pass.

The right-screen traffic scene draws the actual selected solid blue driving path. The separate dashed GPS chord and its debug legend are removed; active navigation stays on the map. Dashboard addon 0.2.2 suppresses six duplicate ATS symbol quads where custom indications are mapped, preserving unmapped native warning/service/differential-lock indicators and the native speed/gear display.

The native runner now watches the Tesla Semi's battery estimate (the mod's SDK fuel amount divided by capacity). At 20% or below, it plans a detour to the nearest reachable mapped fuel service. Exact mounted PPD gas spawn points identify service locations; directed, qualified lanes and existing lane-change permissions determine reachability. Station search and asset decoding run on a background worker. A charging detour never acquires F8 or grants traffic clearance, and blocked/unqualified paths remain excluded.

The custom screen shows the charging route and retains the ATS GPS/job destination. The game GPS itself is not rewritten. The controller approaches the supported pump path, holds the brake, and leaves the game's refuelling interaction to the driver. At 90% or above, it restores the original route; the detour stays active throughout charging below that target. Distances to the stop are estimates from the map's local scale. If no supported connection reaches a station, the panel reports that limitation and leaves the existing route intact. Some station approaches still need native map connection coverage before automatic detours work there.

Banked ordinary roads use an experimental linear endpoint-roll surface model up to six degrees. This rotates the measured lane offset in height as well as laterally, reconstructs source coordinates before qualification, and checks connections again. The original unmodelled geometry retains its three-degree bound. Truck heading, height and lane-membership gates are unchanged; this surface approximation still requires live driving validation.

S
Description
ATS native Tesla-style autopilot, route planner, traffic-aware control, and in-game displays
Readme
4.5 MiB
Languages
Python 83.2%
C 11.6%
C++ 3.5%
PowerShell 1.6%
Batchfile 0.1%