Skip to content

Commit

Permalink
Revert "move out of canfd"
Browse files Browse the repository at this point in the history
This reverts commit 7099534.
  • Loading branch information
sunnyhaibin committed Sep 26, 2024
1 parent 7099534 commit 0555e65
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions opendbc/car/hyundai/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ def __init__(self, CP):
self.STEER_DRIVER_ALLOWANCE = 250
self.STEER_DRIVER_MULTIPLIER = 2
self.STEER_THRESHOLD = 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

if CP.flags & HyundaiFlags.CAN_CANFD_HYBRID:
self.STEER_MAX = 384
self.STEER_DRIVER_ALLOWANCE = 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 0555e65

Please sign in to comment.