Skip to content

Commit

Permalink
Add clarifying comments for new vals
Browse files Browse the repository at this point in the history
  • Loading branch information
JMPZ11 committed Jun 20, 2022
1 parent e0a1093 commit db3ec26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions selfdrive/car/gm/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit db3ec26

Please sign in to comment.