From e57c3413df8a0389f9cfd950b9cb6a5d61925ad3 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 15 Feb 2022 14:07:13 -0800 Subject: [PATCH] Hyundai: move unused cars to dashcam only (#23767) * Move OptimaH to dashcamOnly * Elantra GT also has no users for a year * Update selfdrive/car/hyundai/interface.py Co-authored-by: Adeeb Shihadeh old-commit-hash: 7176f5c4013e09142bfac577952b4a524db77cfb --- selfdrive/car/hyundai/interface.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/selfdrive/car/hyundai/interface.py b/selfdrive/car/hyundai/interface.py index 463ff3569a..379e6937ae 100644 --- a/selfdrive/car/hyundai/interface.py +++ b/selfdrive/car/hyundai/interface.py @@ -30,6 +30,11 @@ class CarInterface(CarInterfaceBase): ret.pcmCruise = not ret.openpilotLongitudinalControl + # These cars have been put into dashcam only due to both a lack of users and test coverage. + # These cars likely still work fine. Once a user confirms each car works and a test route is + # added to selfdrive/test/test_routes, we can remove it from this list. + ret.dashcamOnly = candidate in {CAR.KIA_OPTIMA_H, CAR.ELANTRA_GT_I30} + ret.steerActuatorDelay = 0.1 # Default delay ret.steerRateCost = 0.5 ret.steerLimitTimer = 0.4