|
|
@ -153,8 +153,7 @@ class CarController(): |
|
|
|
can_sends.append(hondacan.create_bosch_supplemental_1(self.packer, CS.CP.carFingerprint, idx)) |
|
|
|
can_sends.append(hondacan.create_bosch_supplemental_1(self.packer, CS.CP.carFingerprint, idx)) |
|
|
|
# If using stock ACC, spam cancel command to kill gas when OP disengages. |
|
|
|
# If using stock ACC, spam cancel command to kill gas when OP disengages. |
|
|
|
if pcm_cancel_cmd: |
|
|
|
if pcm_cancel_cmd: |
|
|
|
# can_sends.append(hondacan.spam_buttons_command(self.packer, CruiseButtons.CANCEL, idx, CS.CP.carFingerprint)) |
|
|
|
can_sends.append(hondacan.spam_buttons_command(self.packer, CruiseButtons.CANCEL, idx, CS.CP.carFingerprint)) |
|
|
|
pass |
|
|
|
|
|
|
|
elif CS.out.cruiseState.standstill: |
|
|
|
elif CS.out.cruiseState.standstill: |
|
|
|
can_sends.append(hondacan.spam_buttons_command(self.packer, CruiseButtons.RES_ACCEL, idx, CS.CP.carFingerprint)) |
|
|
|
can_sends.append(hondacan.spam_buttons_command(self.packer, CruiseButtons.RES_ACCEL, idx, CS.CP.carFingerprint)) |
|
|
|
|
|
|
|
|
|
|
|