From 99e92c7ae2a568691363a775fdaecd360b929e1c Mon Sep 17 00:00:00 2001 From: cydia2020 <12470297+cydia2020@users.noreply.github.com> Date: Sun, 18 Oct 2020 12:26:49 +1100 Subject: [PATCH] The correct (factory) way of displaying barriers on toyotas (#2281) --- selfdrive/car/toyota/toyotacan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/toyota/toyotacan.py b/selfdrive/car/toyota/toyotacan.py index 93176b359c..14bc407446 100644 --- a/selfdrive/car/toyota/toyotacan.py +++ b/selfdrive/car/toyota/toyotacan.py @@ -69,7 +69,7 @@ def create_ui_command(packer, steer, chime, left_line, right_line, left_lane_dep values = { "RIGHT_LINE": 3 if right_lane_depart else 1 if right_line else 2, "LEFT_LINE": 3 if left_lane_depart else 1 if left_line else 2, - "BARRIERS" : 3 if left_lane_depart or right_lane_depart else 0, + "BARRIERS" : 3 if left_lane_depart else 2 if right_lane_depart else 0, "SET_ME_X0C": 0x0c, "SET_ME_X2C": 0x2c, "SET_ME_X38": 0x38,