From db3ec26300e8322a04d6f190c81a63e410858cf6 Mon Sep 17 00:00:00 2001 From: Jason Shuler Date: Mon, 20 Jun 2022 01:09:03 -0400 Subject: [PATCH] Add clarifying comments for new vals --- selfdrive/car/gm/interface.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/selfdrive/car/gm/interface.py b/selfdrive/car/gm/interface.py index 6dd5882dc220237..7e104233a19bcd3 100755 --- a/selfdrive/car/gm/interface.py +++ b/selfdrive/car/gm/interface.py @@ -49,7 +49,11 @@ def get_params(candidate, fingerprint=gen_empty_fingerprint(), car_fw=None, disa ret.safetyConfigs = [get_safety_config(car.CarParams.SafetyModel.gm)] ret.pcmCruise = False # For ASCM, stock cruise control is kept off (but not ACC) ret.radarOffCan = False # For ASCM, radar is expected + # TransmissionType.automatic = Traditional Gas / Automatic Transmission + # TransmissionType.direct = EV / Hybrid ret.transmissionType = TransmissionType.automatic + # NetworkLocation.gateway = OBD-II harness (Typically ASCM) + # NetworkLocation.fwdCamera = Camera Harness (Non-ASCM) ret.networkLocation = NetworkLocation.gateway # These cars have been put into dashcam only due to both a lack of users and test coverage.