starting to implement realistic Vehicle simulation

This commit is contained in:
2025-09-04 15:03:11 +02:00
parent 4c41be706d
commit 6a9d27c6cf
17 changed files with 1468 additions and 250 deletions

View File

@@ -116,13 +116,27 @@ Alternativ: App mit `sudo ./start.sh` starten.
## Projektstruktur
```
main.py Startpunkt
app/
├─ gui.py Tkinter GUI
├─ can.py CAN-Responder + Link-Control (pyroute2)
├─ simulator.py Physikmodell (Gang + Gas → Geschwindigkeit/RPM)
config.py Settings + Logging
settings.json Konfigurationsdatei (wird beim Speichern erzeugt)
app/
├─ gui.py ← main GUI with Simulator tabs + Save/Load
├─ config.py
├─ can.py
obd2.py
├─ tabs/
│ ├─ __init__.py
│ ├─ basics.py ← vehicle basics tab
│ ├─ engine.py ← engine tab
│ ├─ gearbox.py ← gearbox tab
│ └─ dtc.py ← DTC toggles tab
└─ simulation/
├─ __init__.py
├─ simulator_main.py ← VehicleSimulator wrapper used by GUI
├─ vehicle.py ← core state + module orchestration
└─ modules/
├─ __init__.py
├─ engine.py
├─ gearbox.py
└─ abs_.py
```
## Bekannte Einschränkungen