feat: update CAN integration and T2G seat firmware

This commit is contained in:
vee
2026-08-01 15:55:21 +08:00
parent 8cda026ac2
commit 4aded5c21d
1443 changed files with 1007122 additions and 4978 deletions
+14 -12
View File
@@ -42,7 +42,7 @@ class ModeProfileRegistryTests(unittest.TestCase):
self.assertEqual(
by_capability["seat.set_legrest_height"]["parameters"],
[
{"name": "position_pct", "value": 87},
{"name": "position_pct", "value": 94},
{"name": "angle_deg", "value": 163},
],
)
@@ -91,17 +91,17 @@ class ModeProfileRegistryTests(unittest.TestCase):
def test_denza_mode_positions_use_corrected_n7_zero_points(self) -> None:
registry = ModeProfileRegistry(REPOSITORY_ROOT / "config" / "modes")
expected_positions = {
"baby_nap": (81, 30),
"calf_decompression_float": (51, 75),
"cruise_sofa": (51, 30),
"easy_entry_exit": (100, 0),
"electric_beach_chair": (100, 0),
"leisure_lounger": (51, 30),
"meditation_space": (100, 44),
"nap": (0, 0),
"office": (72, 22),
"queen_passenger_driving": (72, 38),
"zero_gravity": (100, 100),
"baby_nap": (81, 30, 41, 0),
"calf_decompression_float": (51, 75, 0, 100),
"cruise_sofa": (51, 30, 44, 53),
"easy_entry_exit": (100, 0, 0, 0),
"electric_beach_chair": (100, 0, 100, 60),
"leisure_lounger": (51, 30, 66, 76),
"meditation_space": (100, 44, 44, 58),
"nap": (100, 100, 81, 94),
"office": (72, 22, 22, 21),
"queen_passenger_driving": (72, 38, 44, 31),
"zero_gravity": (100, 100, 81, 94),
}
profiles = {
@@ -124,6 +124,8 @@ class ModeProfileRegistryTests(unittest.TestCase):
for capability in (
"seat.set_longitudinal_position",
"seat.set_cushion_tilt",
"seat.set_backrest_recline",
"seat.set_legrest_height",
)
)