Skip to content

Commit

Permalink
Update carstate.py
Browse files Browse the repository at this point in the history
Co-Authored-By: Comma Device <device@comma.ai>
Co-Authored-By: Willem Melching <willem.melching@gmail.com>
  • Loading branch information
3 people committed Jun 22, 2022
1 parent d21c769 commit 09fce5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/toyota/carstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def update(self, cp, cp_cam):

ret.espDisabled = cp.vl["ESP_CONTROL"]["TC_DISABLED"] != 0
# 2 is standby, 10 is active. TODO: check that everything else is really a faulty state
self.steer_state = cp.vl["EPS_STATUS"]["LKA_STATE"]
#self.steer_state = cp.vl["EPS_STATUS"]["LKA_STATE"]

if self.CP.enableBsm:
ret.leftBlindspot = (cp.vl["BSM"]["L_ADJACENT"] == 1) or (cp.vl["BSM"]["L_APPROACHING"] == 1)
Expand Down

0 comments on commit 09fce5e

Please sign in to comment.