|
|
@ -16,7 +16,6 @@ NetworkLocation = car.CarParams.NetworkLocation |
|
|
|
BUTTONS_DICT = {CruiseButtons.RES_ACCEL: ButtonType.accelCruise, CruiseButtons.DECEL_SET: ButtonType.decelCruise, |
|
|
|
BUTTONS_DICT = {CruiseButtons.RES_ACCEL: ButtonType.accelCruise, CruiseButtons.DECEL_SET: ButtonType.decelCruise, |
|
|
|
CruiseButtons.MAIN: ButtonType.altButton3, CruiseButtons.CANCEL: ButtonType.cancel} |
|
|
|
CruiseButtons.MAIN: ButtonType.altButton3, CruiseButtons.CANCEL: ButtonType.cancel} |
|
|
|
|
|
|
|
|
|
|
|
GM_PARAM_HW_CAM = 1 |
|
|
|
|
|
|
|
class CarInterface(CarInterfaceBase): |
|
|
|
class CarInterface(CarInterfaceBase): |
|
|
|
@staticmethod |
|
|
|
@staticmethod |
|
|
|
def get_pid_accel_limits(CP, current_speed, cruise_speed): |
|
|
|
def get_pid_accel_limits(CP, current_speed, cruise_speed): |
|
|
|