id: 2227c1f2dd5040f89656495ed996fe88
parent_id: 81990bd067a64ad281c8a46dd23debef
item_type: 1
item_id: 6c0dcb2a567348fd9796f50c790082e4
item_updated_time: 1782383303951
title_diff: "[]"
body_diff: "[{\"diffs\":[[0,\" |\\\n\\\n\"],[-1,\"---\\\n\\\n## 9. Implementation Phases\\\n\\\n*(Phases 1.0–1.12 unchanged — see note history for details)*\\\n\\\n- **1.13 Car Grip Analysis — IMPLEMENTED 2026-06-24 (both repos)**\\\n  - [x] **New `UseCase::CarGrip` variant** — race-pace grip characterization via envelope extraction\\\n    - Guidance: \\\"Drive 3–5 laps at race pace. Brake hard, carry speed through corners...\\\"\\\n    - No special driving protocols needed — the harder you push, the more complete the profile\\\n  - [x] **`analyze_car_grip()`** in `analysis.rs`:\\\n    - Speed-binned envelope: 10 km/h bins, peak |lateral G|, peak accel G, peak brake G per bin\\\n    - Grip circle scatter: (longitudinal_g, lateral_g) downsampled to ~800 points\\\n    - Steering response scatter: (steer, lateral_g, speed_kmh) downsampled to ~800 points\\\n    - Summary: max lateral/accel/brake/combined G, peak lateral speed\\\n    - Filters: excludes pit frames and speed < 5 km/h\\\n  - [x] **racecraft: GripAnalysisView** (`/analysis/grip/:id`) with 4 charts:\\\n    1. Grip Envelope (peak G vs speed — lateral/accel/brake lines)\\\n    2. Grip Circle (longitudinal G vs lateral G scatter — friction circle)\\\n    3. Cornering Grip vs Speed (peak lateral G vs speed)\\\n    4. Steer\"],[1,\"### Commercial Architecture & Business Notes\\\n\\\n| Note | ID |\\\n|------|----|\\\n| [Commercial Deployment Architecture](joplin://052dec863e0948868304e44628986973) | Multi-tenant, access levels, mobile app, data flow |\\\n| [LLM Coach\"],[0,\"ing Re\"],[-1,\"s\"],[0,\"po\"],[-1,\"nse (steer angle vs lateral G scatter)\\\n  - [x] SessionDetailView: grip analysis quick stats (4 stat cards) + view button\\\n  - [x] `car_grip` added to UseCase type, `CarGripAnalysis` types, `isCarGripAnalysis` type guard\\\n  - [x] Global `.grid-4` CSS utility added\\\n  - [x] Documentation updated: READMEs (both repos), Joplin notes\\\n  - [ ] Add grip analysis unit tests\\\n  - [ ] Extend car characteristics to include grip data (currently shift-points only)\\\n  - [ ] Add slip-angle-based understeer detection (per-wheel slip_angle data available)\\\n\\\n---\\\n\\\n## 15. Change Log\\\n\\\n### Recent Changes (summary)\\\n\\\n| Version | Date | Highlights |\\\n|---------|------|------------|\\\n| rusty-telemetry v0.7.1 | 2026-06-24 | Car grip analysis use case: `analyze_car_grip()` with envelope ext\"],[1,\"rts — Architecture & Design](joplin://ddb8739b673c4ab7a996b951c3a47524) | Structured analysis → natural language coaching |\\\n| [Karting Telemetry Hardware — Sensors, Data & Integ\"],[0,\"ra\"],[-1,\"c\"],[0,\"tion\"],[-1,\" (speed-binned peak G), grip circle scatter, steering response scatter |\\\n| racecraft v0.1.6 | 2026-06-24 | GripAnalysisView with 4 charts (grip envelope, grip circle, cornering grip vs speed, steering response), grip analysis types, SessionDetailView grip stats |\\\n| rusty-telemetry v0.7.0 | 2026-06-24 | Session persistence, car characteristics DB, remove `track_map` use case |\\\n| racecraft v0.1.5 | 2026-06-24 | CharacteristicsView, tracks views committed, track_map removal |\\\n| *(earlier versions — see note history)* | | |\\\n\\\n---\\\n\\\n## 17.6 Grip Envelope\\\n\\\n**Status (2026-06-24): Basic version IMPLEMENTED (car_grip use case).**\\\n\\\nFrom race-pace laps: peak lateral G, peak accel G, peak brake G, binned by speed (envelope extraction). Produces the \\\"grip circle\\\" boundary. Used for coaching: \\\"car can do 1.4g, you used only 1.1g\\\".\\\n\\\nImplemented via `car_grip` use case with `analyze_car_grip()`:\\\n- Speed-binned envelope (10 km/h bins, max |G| per bin)\\\n- Grip circle scatter (longitudinal vs lateral G)\\\n- Steering response scatter (steer angle vs lateral G)\\\n- Summary stats (max lateral/accel/brake/combined G)\\\n\\\nNext steps: per-wheel slip angle understeer detection, extend characteristics DB with grip data, future structured trials (e.g. slowly rising steering angle to detect slip onset).\\\n\\\n---\\\n\\\n## 17.10 Implementation Priority\\\n\\\n| Use Case | Depends On | Estimated Effort | Priority | Status |\\\n|----------|-----------|-----------------|----------|--------|\\\n| Track mapping | Spline data / position data | 3–5 days | P0 | ✅ DONE |\\\n| **Grip envelope** | Telemetry G-force data | 2–3 days | P1 | ✅ Basic DONE (car_grip use case — envelope extraction) |\\\n| Lap detection | Spline data in TT feed | 1–2 days | P0 | Pending |\\\n| Corner analysis | Track model + lap detection | 3–5 days | P1 | — |\\\n| Theoretical best lap | Lap detection + sectors | 2–3 days | P1 | — |\\\n| Time loss attribution | Corner + grip + theoretical | 3–5 days | P2 | — |\\\n| Coaching output | All of the above | 5–10 days | P2 | — |\\\n\\\n---\\\n\\\n*(Sections 10–14, 16, 18, 19 unchanged — see note history for full content)*\\\n\\\n---\\\n\\\n*Last updated: 2026-06-24 —\"],[1,\"](joplin://75762cc5757e4b7382af9f1a9b7673ee) | Aim, GPS, sensors, data tiers, CSV reader |\\\n| [B2B Sales Strategy — Karting, Sim Centers & Racing](joplin://2966387061964de696a9bf734440878c) | Pitch, pilot proposal, pricing, competitive positioning |\\\n\\\n---\\\n\\\n*(Sections 9–19 unchanged — see note history for implementation phases, product roadmap, karting market analysis, etc.)*\\\n\\\n---\\\n\\\n*Last updated: 2026-06-25 — Added commercial architecture, LLM coaching, karting hardware, and sales strategy notes.\"],[0,\" v0.\"]],\"start1\":674,\"start2\":674,\"length1\":4078,\"length2\":920},{\"diffs\":[[0,\"craft): \"],[-1,\"C\"],[1,\"c\"],[0,\"ar grip \"]],\"start1\":1630,\"start2\":1630,\"length1\":17,\"length2\":17},{\"diffs\":[[0,\"ysis\"],[-1,\" use case with envelope extraction — `analyze_car_grip()` produces speed-binned peak G, grip circle scatter, steering response scatter. New GripAnalysisView with 4 charts. Updated §8, §9 (1.13), §15, §17.6, §17.10.*\\\n*Next: test car_grip with live AC session tonight, add lap detection, extend characteristics with grip data, add understeer detection from slip angles\"],[1,\", AGPL-3.0 licensing, clippy-clean codebase.*\\\n*Next: test car_grip with live AC session, build LLM coaching endpoint, add multi-tenant layer, build demo video + one-pager, contact Styria Karting\"],[0,\".*\"]],\"start1\":1651,\"start2\":1651,\"length1\":372,\"length2\":200}]"
metadata_diff: {"new":{},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2026-06-25T10:37:27.604Z
created_time: 2026-06-25T10:37:27.604Z
type_: 13