Spaces:
Sleeping
Sleeping
nasim-raj-laskar commited on
Commit ·
32217eb
1
Parent(s): af286ff
Readme Added
Browse files
README.md
CHANGED
|
@@ -7,4 +7,65 @@ sdk: docker
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# AC Telemetry Analysis — Demo Dashboard
|
| 11 |
+
|
| 12 |
+
Interactive dashboard for exploring Assetto Corsa telemetry sessions recorded by **[AC-Datalogger](https://github.com/nasim-raj-laskar/AC-Datalogger/tree/main)** — a high-frequency telemetry logger that reads directly from the game's Windows shared memory interface.
|
| 13 |
+
|
| 14 |
+
This Space ships with two pre-recorded demo sessions so you can explore the dashboard without running the logger yourself.
|
| 15 |
+
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
## What you're looking at
|
| 19 |
+
|
| 20 |
+
AC-Datalogger polls Assetto Corsa's shared memory (`acpmf_physics`, `acpmf_graphic`, `acpmf_static`) at ~65Hz and writes every sample to a session folder as Parquet + JSON. This dashboard loads those sessions and lets you explore 83 telemetry channels across five tabs:
|
| 21 |
+
|
| 22 |
+
| Tab | Contents |
|
| 23 |
+
|---|---|
|
| 24 |
+
| Driver Inputs | Speed, pedals, gear & RPM, steering angle |
|
| 25 |
+
| Vehicle Dynamics | G-forces, angular rates, wheel slip, wheel load |
|
| 26 |
+
| Tyres | Pressure, core temp, surface temp, wear, brake temps |
|
| 27 |
+
| Aero / Misc | Ride height, turbo boost, environment temps, fuel, driver aids |
|
| 28 |
+
| Track Map | `pos_x`/`pos_z` trace coloured by any channel, with a position scrubber |
|
| 29 |
+
|
| 30 |
+
The Track Map renders the full lap trace coloured by a selectable channel (speed, throttle, brake, lateral G, longitudinal G). The scrub slider moves the car marker along the trace entirely in the browser via `Plotly.restyle` — no server round-trip.
|
| 31 |
+
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
## Record your own sessions
|
| 35 |
+
|
| 36 |
+
The logger runs on Windows alongside Assetto Corsa. No plugins or game modification required — just enable shared memory in AC settings and run the script.
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
# install
|
| 40 |
+
pip install pandas pyarrow pyyaml
|
| 41 |
+
|
| 42 |
+
# record a session (while AC is running)
|
| 43 |
+
python main.py
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
Full setup, configuration, and captured feature reference → **[AC-Datalogger on GitHub](https://github.com/nasim-raj-laskar/AC-Datalogger/tree/main)**
|
| 47 |
+
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
+
## Session data format
|
| 51 |
+
|
| 52 |
+
Each recorded session is a folder named `track_car_YYYYMMDD_HHMMSS/` containing:
|
| 53 |
+
|
| 54 |
+
```
|
| 55 |
+
session_info.json # car, track, max_rpm, max_fuel_kg, …
|
| 56 |
+
telemetry.parquet # 83-column DataFrame at ~65Hz
|
| 57 |
+
telemetry.csv # same data as CSV
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
`session_info.json` example:
|
| 61 |
+
```json
|
| 62 |
+
{
|
| 63 |
+
"car": "ferrari_458_gt2",
|
| 64 |
+
"track": "monza",
|
| 65 |
+
"track_configuration": "gp",
|
| 66 |
+
"max_rpm": 9000,
|
| 67 |
+
"max_fuel_kg": 120.0
|
| 68 |
+
}
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
To use your own sessions with this dashboard, drop the session folder into `sessions/` and restart.
|