Skip to content

Commit

Permalink
reapply
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyhaibin committed Sep 26, 2024
1 parent 0555e65 commit 648f3ae
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions opendbc/car/hyundai/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ def __init__(self, CP):
self.STEER_DELTA_UP = 2
self.STEER_DELTA_DOWN = 3

if CP.flags & HyundaiFlags.CAN_CANFD_HYBRID:
self.STEER_MAX = 384
self.STEER_DRIVER_ALLOWANCE = 250
elif CP.flags & HyundaiFlags.CAN_CANFD_HYBRID:
self.STEER_MAX = 384
self.STEER_DELTA_UP = 2
self.STEER_DELTA_DOWN = 3
self.STEER_DRIVER_ALLOWANCE = 250
self.STEER_THRESHOLD = 250

# To determine the limit for your car, find the maximum value that the stock LKAS will request.
# If the max stock LKAS request is <384, add your car to this list.
Expand Down

0 comments on commit 648f3ae

Please sign in to comment.