From ea32fa841e2876827e64058781ee85974426eaba Mon Sep 17 00:00:00 2001 From: AskaEth Date: Sun, 26 Jul 2026 18:42:36 +0800 Subject: [PATCH] feat: #3 tire temperature matrix dashboard (FL/FR/RL/RR heatmap) --- dashboards/tire_temp/index.html | 89 +++++++++++++++++++++++++++ dashboards/tire_temp/manifest.json | 14 +++++ games/builtin/forza_horizon/parser.py | 5 ++ 3 files changed, 108 insertions(+) create mode 100644 dashboards/tire_temp/index.html create mode 100644 dashboards/tire_temp/manifest.json diff --git a/dashboards/tire_temp/index.html b/dashboards/tire_temp/index.html new file mode 100644 index 0000000..6e8059c --- /dev/null +++ b/dashboards/tire_temp/index.html @@ -0,0 +1,89 @@ + + + + + +TurboSu - 轮胎温度 + + + +
+
+
--
FL 左前
+
--
FR 右前
+
--
RL 左后
+
--
RR 右后
+
+
+ + + diff --git a/dashboards/tire_temp/manifest.json b/dashboards/tire_temp/manifest.json new file mode 100644 index 0000000..d244dcd --- /dev/null +++ b/dashboards/tire_temp/manifest.json @@ -0,0 +1,14 @@ +{ + "id": "tire_temp", + "name": "轮胎温度矩阵", + "category": "physics", + "description": "四轮实时温度热力图,蓝=冷 / 绿=最佳 / 红=过热", + "author": "Yei.J. (AskaEth)", + "version": "1.0.0", + "supported_games": "forza_horizon,forza_horizon_6,forza_motorsport", + "config": { + "icon": "🌡", + "aspect_ratio": "4:3", + "render_mode": "contain" + } +} diff --git a/games/builtin/forza_horizon/parser.py b/games/builtin/forza_horizon/parser.py index e2cedf9..2def59a 100644 --- a/games/builtin/forza_horizon/parser.py +++ b/games/builtin/forza_horizon/parser.py @@ -45,6 +45,11 @@ class ForzaHorizonParser: td.handbrake = struct.unpack_from("