mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 02:22:09 +08:00
Honda Civic Bosch send LEGACY_BRAKE_COMMAND when radar disabled (#21476)
* Update hondacan.py * Update hondacan.py * Update hondacan.py Co-authored-by: Casey Francis <@CFranHonda> old-commit-hash: 060ba14eda746733b63e2dc4c1a68c2898868260
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from selfdrive.car.isotp_parallel_query import IsoTpParallelQuery
|
||||
from selfdrive.swaglog import cloudlog
|
||||
from selfdrive.config import Conversions as CV
|
||||
from selfdrive.car.honda.values import HONDA_BOSCH
|
||||
from selfdrive.car.honda.values import HONDA_BOSCH, CAR
|
||||
|
||||
# CAN bus layout with relay
|
||||
# 0 = ACC-CAN - radar side
|
||||
@@ -181,6 +181,9 @@ def create_ui_commands(packer, pcm_speed, hud, car_fingerprint, is_metric, idx,
|
||||
'SET_TO_1' : 0x01,
|
||||
}
|
||||
commands.append(packer.make_can_msg('RADAR_HUD', bus_pt, radar_hud_values, idx))
|
||||
|
||||
if car_fingerprint == CAR.CIVIC_BOSCH:
|
||||
commands.append(packer.make_can_msg("LEGACY_BRAKE_COMMAND", bus_pt, {}, idx))
|
||||
|
||||
return commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user