From 6991e8ebd2d0e5d75150ab5fc6827f8b7f76fa92 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Thu, 16 Apr 2020 13:51:23 -0700 Subject: [PATCH] Add note about warnings not working with blinker --- selfdrive/car/hyundai/hyundaican.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/selfdrive/car/hyundai/hyundaican.py b/selfdrive/car/hyundai/hyundaican.py index 7a72145e03..ffbde551c7 100644 --- a/selfdrive/car/hyundai/hyundaican.py +++ b/selfdrive/car/hyundai/hyundaican.py @@ -31,9 +31,10 @@ def create_lkas11(packer, frame, car_fingerprint, apply_steer, steer_req, # FcwOpt_USM 0 = No car + lanes values["CF_Lkas_FcwOpt_USM"] = 2 if enabled else 1 - # 4 is keep hands on wheel - # 5 is keep hands on wheel (red) - # 6 is keep hands on wheel (red) + beep + # SysWarning 4 = keep hands on wheel + # SysWarning 5 = keep hands on wheel (red) + # SysWarning 6 = keep hands on wheel (red) + beep + # Note: the warning is hidden while the blinkers are on values["CF_Lkas_SysWarning"] = 4 if sys_warning else 0 elif car_fingerprint == CAR.HYUNDAI_GENESIS: