|
|
@ -42,7 +42,7 @@ class VCruiseHelper: |
|
|
|
self.v_cruise_cluster_kph = V_CRUISE_INITIAL |
|
|
|
self.v_cruise_cluster_kph = V_CRUISE_INITIAL |
|
|
|
self.v_cruise_kph_last = 0 |
|
|
|
self.v_cruise_kph_last = 0 |
|
|
|
self.button_timers = {ButtonType.decelCruise: 0, ButtonType.accelCruise: 0} |
|
|
|
self.button_timers = {ButtonType.decelCruise: 0, ButtonType.accelCruise: 0} |
|
|
|
self.button_change_states = {btn: {"standstill": False} for btn in self.button_timers} |
|
|
|
self.button_change_states = {btn: {"standstill": False, "enabled": False} for btn in self.button_timers} |
|
|
|
|
|
|
|
|
|
|
|
@property |
|
|
|
@property |
|
|
|
def v_cruise_initialized(self): |
|
|
|
def v_cruise_initialized(self): |
|
|
|