Car docs: gate auto resume star on enable down to stop (#32421)

* this star doesn't make sense

* only docs for now

* flip
This commit is contained in:
Shane Smiskol
2024-05-13 16:18:29 -07:00
committed by GitHub
parent 06c581e202
commit 82e70db47c
3 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ class CarDocs:
self.min_enable_speed = CP.minEnableSpeed
if self.auto_resume is None:
self.auto_resume = CP.autoResumeSng
self.auto_resume = CP.autoResumeSng and self.min_enable_speed <= 0
# hardware column
hardware_col = "None"
+2 -2
View File
@@ -215,8 +215,8 @@ class CAR(Platforms):
flags=HyundaiFlags.HYBRID,
)
HYUNDAI_KONA = HyundaiPlatformConfig(
[HyundaiCarDocs("Hyundai Kona 2020", car_parts=CarParts.common([CarHarness.hyundai_b]))],
CarSpecs(mass=1275, wheelbase=2.6, steerRatio=13.42, tireStiffnessFactor=0.385, minEnableSpeed=6 * CV.MPH_TO_MS),
[HyundaiCarDocs("Hyundai Kona 2020", min_enable_speed=6 * CV.MPH_TO_MS, car_parts=CarParts.common([CarHarness.hyundai_b]))],
CarSpecs(mass=1275, wheelbase=2.6, steerRatio=13.42, tireStiffnessFactor=0.385),
flags=HyundaiFlags.CLUSTER_GEARS,
)
HYUNDAI_KONA_EV = HyundaiPlatformConfig(