Skip to content

Commit

Permalink
button spam back out for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jyoung8607 committed Jul 28, 2023
1 parent a198ccb commit b1a615a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions selfdrive/car/volkswagen/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ def update(self, CC, CS, ext_bus, now_nanos):

# **** Stock ACC Button Controls **************************************** #

gra_send_ready = self.CP.pcmCruise and CS.gra_stock_values["COUNTER"] != self.gra_acc_counter_last
if gra_send_ready and (CC.cruiseControl.cancel or CC.cruiseControl.resume):
can_sends.append(self.CCS.create_acc_buttons_control(self.packer_pt, ext_bus, CS.gra_stock_values,
cancel=CC.cruiseControl.cancel, resume=CC.cruiseControl.resume))
#gra_send_ready = self.CP.pcmCruise and CS.gra_stock_values["COUNTER"] != self.gra_acc_counter_last
#if gra_send_ready and (CC.cruiseControl.cancel or CC.cruiseControl.resume):
# can_sends.append(self.CCS.create_acc_buttons_control(self.packer_pt, ext_bus, CS.gra_stock_values,
# cancel=CC.cruiseControl.cancel, resume=CC.cruiseControl.resume))

new_actuators = actuators.copy()
new_actuators.steer = self.apply_steer_last / self.CCP.STEER_MAX
Expand Down

0 comments on commit b1a615a

Please sign in to comment.