|
|
|
@ -14,10 +14,10 @@ from openpilot.selfdrive.car.interfaces import CarInterfaceBase, TorqueFromLater |
|
|
|
|
ButtonType = car.CarState.ButtonEvent.Type |
|
|
|
|
TransmissionType = car.CarParams.TransmissionType |
|
|
|
|
NetworkLocation = car.CarParams.NetworkLocation |
|
|
|
|
|
|
|
|
|
BUTTONS_DICT = {CruiseButtons.RES_ACCEL: ButtonType.accelCruise, CruiseButtons.DECEL_SET: ButtonType.decelCruise, |
|
|
|
|
CruiseButtons.MAIN: ButtonType.altButton3, CruiseButtons.CANCEL: ButtonType.cancel} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NON_LINEAR_TORQUE_PARAMS = { |
|
|
|
|
CAR.CHEVROLET_BOLT_EUV: [2.6531724862969748, 1.0, 0.1919764879840985, 0.009054123646805178], |
|
|
|
|
CAR.GMC_ACADIA: [4.78003305, 1.0, 0.3122, 0.05591772], |
|
|
|
|