move this to other bus too

pull/23307/head
vanillagorillaa 3 years ago
parent a8a5728952
commit 770bf4745e
  1. 2
      panda
  2. 3
      selfdrive/car/honda/hondacan.py

@ -1 +1 @@
Subproject commit 19d02368ecc532d4aca3da0d7acdb4faa55072bc
Subproject commit 691e045f8724e57f135ad8d1683e83acbc16b91f

@ -20,6 +20,9 @@ def get_lkas_cmd_bus(car_fingerprint, radar_disabled=False):
if radar_disabled:
# when radar is disabled, steering commands are sent directly to powertrain bus
return get_pt_bus(car_fingerprint)
elif car_fingerprint in HONDA_RADARLESS:
return 2
else:
# normally steering commands are sent to radar, which forwards them to powertrain bus
return 0

Loading…
Cancel
Save