checklists/z27ag-captures.json is now the source of the steps; the plan describes the Captures page and the mark texts it records. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz
This commit is contained in:
@@ -6,7 +6,7 @@ updated: 2026-10-13
|
||||
# Z27AG decoding captures: what to do in the car
|
||||
|
||||
Recordings that let the broadcast frames be decoded: one thing changes at a time,
|
||||
each change is marked, and OBD-II mode 01 values are recorded alongside as the
|
||||
each change is marked from the app's **Captures** page, and OBD-II mode 01 values are recorded alongside as the
|
||||
ground truth. Prior art and first candidates: [the prior-art report](../reports/Z27AG-CAN-PRIOR-ART.md).
|
||||
|
||||
## What records what
|
||||
@@ -18,69 +18,55 @@ ground truth. Prior art and first candidates: [the prior-art report](../reports/
|
||||
| `events.ndjson` | marks from the app | when each step happened |
|
||||
| `gnss.ndjson` | gpsd (SIM7600) | speed and position for the drive |
|
||||
|
||||
## Operating the recorder from the app
|
||||
## Operating it from the app
|
||||
|
||||
- **Sessions start by themselves** when the PEAK sees traffic (ignition on) and end
|
||||
15 s after it stops. There is no start/stop button; nothing to do.
|
||||
- **Marks:** the **Mark** button → a quick chip, or type in *Other* and press enter.
|
||||
A mark is stamped when the recorder receives it, on the same clock as the frames.
|
||||
- **Check it landed:** the *Commands* list, at the top of the raw-messages pane (right
|
||||
side, or the lower half on a narrow screen), shows `✓ ok: mark 3 in
|
||||
000042-…`. `✗ error: no session` means no traffic yet: ignition on, PEAK plugged.
|
||||
A mark sent with the link down waits (`unacked`) and goes when it is back, with its
|
||||
delay noted in the mark.
|
||||
- **Captures** (top bar) opens the checklist. Each step shows what to do and one big
|
||||
button: **Start** as the action begins, **End** as it ends (a running timer shows
|
||||
the suggested hold); a single moment is one **Mark**. When a step's actions are done
|
||||
the button says **Next step**: a natural pause, about 3 s, before the next.
|
||||
**Redo step** and **Skip step** say so in the recording; the step list (left, or
|
||||
the list icon on a narrow screen) jumps anywhere. Leaving a step mid-action marks
|
||||
that action aborted.
|
||||
- **Check it landed:** under the button, the last mark and `✓`, or `✗ error: no
|
||||
session` when there is no traffic yet (ignition on, PEAK plugged). A mark sent with
|
||||
the link down waits (`unacked`) and goes when it is back, with its delay noted.
|
||||
- The **Mark** button on the main screen is still there for anything off-plan.
|
||||
- **OBD is working** when `engine_rpm`, `vehicle_speed_kph` and the rest appear in
|
||||
the signal list and move. If they never appear, see *If OBD stays silent*.
|
||||
|
||||
## Marks
|
||||
## The steps
|
||||
|
||||
Type the step number first, then what is happening: `3 brake on`, `3 brake off`.
|
||||
One mark when an action starts and one when it ends is enough; a slow, steady
|
||||
action between them beats a quick one. Wait about 3 s between steps.
|
||||
They are data: [`checklists/z27ag-captures.json`](../../../checklists/z27ag-captures.json),
|
||||
bundled into the app as an exact copy (app-flutter `tool/sync-contracts.sh`;
|
||||
crosscheck fails if the copy drifts). Edit them there; bump `version` when steps
|
||||
change meaning, since every recording names the version it was made with. Before
|
||||
starting: PEAK on the OBD port, Orin up, tablet connected; engine off, doors shut.
|
||||
|
||||
## Checklist
|
||||
- **Parked, ignition on, engine off** (1–13): baseline, pedals, steering, gears
|
||||
(reverse likely shows as the reverse light: the diesel forfour carries it in
|
||||
`423` byte 1 bit 3; no other gearbox signal expected), handbrake, indicators,
|
||||
lights, doors, wipers, A/C, belt.
|
||||
- **Engine running, parked** (14–18): start and idle, held revs (OBD rpm is the
|
||||
reference), blips, A/C load, radiator fan.
|
||||
- **Driving** (19–22): steady speeds, stops, corners, each gear. A passenger presses,
|
||||
or skip the marks: OBD and GNSS speed are recorded continuously, and gear comes
|
||||
from rpm ÷ speed.
|
||||
|
||||
**Before:** PEAK on the OBD port, Orin up, tablet connected. Engine off, doors shut.
|
||||
The parked steps can be split over several sessions; the drive is the important part.
|
||||
|
||||
### Parked, ignition on, engine off
|
||||
## Marks, as recorded
|
||||
|
||||
| # | Do | Mark | Finds |
|
||||
|---|---|---|---|
|
||||
| 1 | Nothing for 20 s | `1 baseline` | the resting values of every ID |
|
||||
| 2 | Accelerator: slowly to the floor over 5 s, hold 3 s, slowly back | `2 accel start` / `2 accel end` | pedal position (engine off: no rpm to confuse it) |
|
||||
| 3 | Brake: press, hold 3 s, release; three times | `3 brake on` / `3 brake off` each time | brake switch, maybe pressure |
|
||||
| 4 | Clutch: same, three times | `4 clutch on` / `4 clutch off` | clutch switch |
|
||||
| 5 | Steering: centre → full left → full right → centre, slowly | `5 steer start` / `5 steer end` | steering angle |
|
||||
| 6 | Gears: 1, 2, 3, 4, 5, R, neutral, 3 s each | `6 gear 1` … `6 gear R`, `6 neutral` | reverse, likely as the reverse-light bit (diesel forfour: `423` byte 1 bit 3); no other gearbox signal expected — gear comes from rpm ÷ speed (step 22) |
|
||||
| 7 | Handbrake up, down, up | `7 handbrake on` / `off` | handbrake switch |
|
||||
| 8 | Indicator left 5 s, right 5 s, hazards 5 s | `8 left`, `8 right`, `8 hazard`, `8 off` | indicator states |
|
||||
| 9 | Side lights, dipped, main beam, flash, fogs, off | one mark each | light states |
|
||||
| 10 | Each door open/close, boot, bonnet | one mark each | door switches |
|
||||
| 11 | Wipers int / low / high / off, washer | one mark each | wiper states |
|
||||
| 12 | A/C on / off, blower up / down | one mark each | A/C request |
|
||||
| 13 | Seatbelt on / off | `13 belt on` / `off` | belt switch |
|
||||
`events.ndjson` holds each mark's text, stamped on arrival at the recorder:
|
||||
|
||||
### Engine running, parked
|
||||
|
||||
| # | Do | Mark | Finds |
|
||||
|---|---|---|---|
|
||||
| 14 | Cold start if possible; idle 60 s | `14 engine start` | coolant and oil warming; idle control |
|
||||
| 15 | Revs in steps: hold 1500, 2000, 3000 rpm 5 s each, back to idle | `15 rpm 1500` … `15 idle` | engine speed (OBD rpm is the reference), throttle against pedal |
|
||||
| 16 | Three sharp blips | `16 blips` | response timing of throttle, rpm, MAP |
|
||||
| 17 | A/C on 20 s, off | `17 ac on` / `off` | compressor clutch, idle-up |
|
||||
| 18 | Idle until the radiator fan cuts in, if it will | `18 fan` | fan state, coolant threshold |
|
||||
|
||||
### Driving (a passenger types the marks, or skip them)
|
||||
|
||||
| # | Do | Mark | Finds |
|
||||
|---|---|---|---|
|
||||
| 19 | Pull away; steady 20, 40, 60 km/h for 10 s each where safe | `19 steady 20` … (optional) | road and wheel speeds against OBD and GNSS speed |
|
||||
| 20 | A gentle stop, a firmer stop | `20 stop` (optional) | brake pressure, deceleration |
|
||||
| 21 | A few corners each way | — | yaw / lateral g, wheel speed differences |
|
||||
| 22 | Each gear through the box | — | gear (from rpm ÷ speed if not broadcast) |
|
||||
|
||||
Speed needs no marks: OBD speed and GNSS speed are recorded continuously. The
|
||||
drive is the important part; the parked steps can be split over several sessions.
|
||||
| Text | Meaning |
|
||||
|---|---|
|
||||
| `checklist z27ag-captures v1` | before the first mark from the page: which steps these are |
|
||||
| `3 brake #2 start` / `3 brake #2 end` | a span; `#n` only on repeated actions |
|
||||
| `14 engine start` | a point |
|
||||
| `3 brake #2 abort` | a span left open (redo, skip, another step) |
|
||||
| `3 redo`, `3 skip` | the step is being done again / was skipped: use the last attempt |
|
||||
|
||||
## If OBD stays silent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user