Skip to content
This repository was archived by the owner on Oct 28, 2026. It is now read-only.

car_cluster: drive a ten mile figure eight out of the driveway and back - #238

Merged
bdbarnett merged 1 commit into
mainfrom
car-cluster-course
Oct 23, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
car-cluster-course

Conversation

@bdbarnett

Copy link
Copy Markdown
Collaborator

The car now follows a course instead of a speed profile: two stacked blocks, 1.5 by 1.0 miles each, ten miles round. It backs out of a driveway on the shared middle street, takes every corner to the left, runs the top road at 55 mph in S, stops at the stop signs on the top-left and bottom-right corners, signals before each corner and before the driveway, brakes with regen, and parks. The lap distance under the speed dial resets as the car pulls back in. Ten seconds of driving pass per real second (CAR_CLUSTER_SPEEDUP), so a lap is about two minutes.

The status line shows today's date and 75°F. The indicators blink on the real clock.

Verified: a headless lap simulation lands at 10.02 miles with a 55 mph peak and all stops, turns and signals in order; in-process timing shows ten seconds of driving per real second at 25 fps; captures at the stop-sign braking (38 mph in S, 43 kW regen, left signal) and after the lap (backing out again, lap distance 0.0); the unix MicroPython build runs it clean; the wasm gallery boots it in headless Chromium with ArrowLeft reaching the car.

The car now follows a course instead of a speed profile: two stacked
blocks, 1.5 by 1.0 miles each, ten miles round. It backs out of a
driveway on the shared middle street, takes every corner to the left,
runs the top road at 55 in S, stops at the stop signs on the top-left
and bottom-right corners, signals before each corner and the driveway,
brakes with regen the way a driver would, and parks. The lap distance is
the left dial's caption and resets as the car pulls back in. Ten seconds
of driving pass for each real one (CAR_CLUSTER_SPEEDUP), so a lap is
about two minutes.

The status line shows today's date and 75 F; the indicators blink on the
real clock, not the sped-up one.
@bdbarnett
bdbarnett merged commit 1ebd84b into main Oct 23, 2026
4 checks passed
@bdbarnett
bdbarnett deleted the car-cluster-course branch October 23, 2026 07:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant