Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
Edison-CBS committed Sep 2, 2023
1 parent fd9bab3 commit af7d397
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions selfdrive/car/toyota/carstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def get_can_parser(CP):
("ACC_CONTROL", 33),
]
messages += [
("ACC_CONTROL", 0),
#("ACC_CONTROL", 0),
("PCS_HUD", 1),
]

Expand All @@ -252,8 +252,8 @@ def get_can_parser(CP):
("PRE_COLLISION", 33),
]

if CP.carFingerprint in (TSS2_CAR | RADAR_ACC_CAR | NO_STOP_TIMER_CAR):
messages.append(("PCM_CRUISE_SM", 0))
# if CP.carFingerprint in (TSS2_CAR | RADAR_ACC_CAR | NO_STOP_TIMER_CAR):
# messages.append(("PCM_CRUISE_SM", 0))

return CANParser(DBC[CP.carFingerprint]["pt"], messages, 0)

Expand Down

0 comments on commit af7d397

Please sign in to comment.