diff --git a/selfdrive/car/tesla/carstate.py b/selfdrive/car/tesla/carstate.py index 4ec72a4f50..f08406b1ff 100644 --- a/selfdrive/car/tesla/carstate.py +++ b/selfdrive/car/tesla/carstate.py @@ -86,8 +86,9 @@ class CarState(CarStateBase): ret.seatbeltUnlatched = cp.vl["UI_warning"]["buckleStatus"] != 1 # Blindspot - ret.leftBlindspot = cp_cam.vl["DAS_status"]["DAS_blindSpotRearLeft"] != 0 - ret.rightBlindspot = cp_cam.vl["DAS_status"]["DAS_blindSpotRearRight"] != 0 + if self.CP.enableBsm: + ret.leftBlindspot = cp_cam.vl["DAS_status"]["DAS_blindSpotRearLeft"] != 0 + ret.rightBlindspot = cp_cam.vl["DAS_status"]["DAS_blindSpotRearRight"] != 0 # AEB ret.stockAeb = (cp_cam.vl["DAS_control"]["DAS_aebEvent"] == 1) diff --git a/selfdrive/car/tesla/interface.py b/selfdrive/car/tesla/interface.py index 33a92a48a2..9bac7ffe32 100755 --- a/selfdrive/car/tesla/interface.py +++ b/selfdrive/car/tesla/interface.py @@ -31,6 +31,7 @@ class CarInterface(CarInterfaceBase): flags |= Panda.FLAG_TESLA_LONG_CONTROL ret.openpilotLongitudinalControl = True ret.safetyConfigs = [get_safety_config(car.CarParams.SafetyModel.tesla, flags)] + ret.enableBsm = True ret.steerLimitTimer = 1.0 ret.steerActuatorDelay = 0.25