Chrysler: support convenience blinkers (#25644)

Co-authored-by: Comma Device <device@comma.ai>
pull/24904/head^2
Adeeb Shihadeh 3 years ago committed by GitHub
parent 6b236b4edd
commit fd7525d806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      selfdrive/car/chrysler/carstate.py

@ -58,8 +58,8 @@ class CarState(CarStateBase):
)
# button presses
ret.leftBlinker = cp.vl["STEERING_LEVERS"]["TURN_SIGNALS"] == 1
ret.rightBlinker = cp.vl["STEERING_LEVERS"]["TURN_SIGNALS"] == 2
ret.leftBlinker, ret.rightBlinker = self.update_blinker_from_stalk(200, cp.vl["STEERING_LEVERS"]["TURN_SIGNALS"] == 1,
cp.vl["STEERING_LEVERS"]["TURN_SIGNALS"] == 2)
ret.genericToggle = cp.vl["STEERING_LEVERS"]["HIGH_BEAM_PRESSED"] == 1
# steering wheel

Loading…
Cancel
Save