pull/28440/head
Shane Smiskol 2 years ago
parent f2d59e47b9
commit c902345b5f
  1. 4
      selfdrive/car/toyota/interface.py

@ -224,11 +224,11 @@ class CarInterface(CarInterfaceBase):
use_sdsu = use_sdsu and experimental_long
# openpilot longitudinal enabled by default:
# - non-(TSS2 radar ACC cars) w/ smart-DSU installed
# - non-(TSS2 radar ACC cars) w/ smartDSU installed
# - cars w/ DSU disconnected
# - TSS2 cars with camera sending ACC_CONTROL where we can block it
# openpilot longitudinal enabled when experimental long is toggled:
# - TSS2 radar ACC cars w/ smart-DSU installed
# - TSS2 radar ACC cars w/ smartDSU installed
ret.openpilotLongitudinalControl = use_sdsu or ret.enableDsu or candidate in (TSS2_CAR - RADAR_ACC_CAR)
ret.autoResumeSng = ret.openpilotLongitudinalControl and candidate in NO_STOP_TIMER_CAR

Loading…
Cancel
Save