Skip to content

Commit

Permalink
Toyota sdsu upstream hack
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyhaibin committed Apr 8, 2024
1 parent 2d705e8 commit 2cbe1a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion panda
Submodule panda updated from 87391d to 3b7e3d
1 change: 1 addition & 0 deletions selfdrive/car/toyota/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def _get_params(ret, candidate, fingerprint, car_fw, experimental_long, docs):
# 0x2AA is sent by a similar device which intercepts the radar instead of DSU on NO_DSU_CARs
if 0x2FF in fingerprint[0] or (0x2AA in fingerprint[0] and candidate in NO_DSU_CAR):
ret.flags |= ToyotaFlags.SMART_DSU.value
ret.safetyConfigs[0].safetyParam |= Panda.FLAG_TOYOTA_SDSU

# No radar dbc for cars without DSU which are not TSS 2.0
# TODO: make an adas dbc file for dsu-less models
Expand Down

0 comments on commit 2cbe1a7

Please sign in to comment.