pull/24873/head
Shane Smiskol 3 years ago
parent 2c9061042b
commit 325ea9bbd5
  1. 5
      selfdrive/car/volkswagen/carcontroller.py

@ -93,9 +93,8 @@ class CarController():
# Cancel ACC if it's engaged with OP disengaged. # Cancel ACC if it's engaged with OP disengaged.
self.graButtonStatesToSend = BUTTON_STATES.copy() self.graButtonStatesToSend = BUTTON_STATES.copy()
self.graButtonStatesToSend["cancel"] = True self.graButtonStatesToSend["cancel"] = True
elif c.enabled and CS.out.cruiseState.standstill: elif c.cruiseControl.override:
# Blip the Resume button if we're engaged at standstill. # Send Resume button when planner wants car to move
# FIXME: This is a naive implementation, improve with visiond or radar input.
self.graButtonStatesToSend = BUTTON_STATES.copy() self.graButtonStatesToSend = BUTTON_STATES.copy()
self.graButtonStatesToSend["resumeCruise"] = True self.graButtonStatesToSend["resumeCruise"] = True

Loading…
Cancel
Save