Skip to content

Commit

Permalink
Merge branch 'commaai-devel' into HKG
Browse files Browse the repository at this point in the history
  • Loading branch information
xx979xx committed Nov 8, 2019
2 parents 2947959 + bf5ceb4 commit 57d1aa2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion selfdrive/car/hyundai/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from selfdrive.can.packer import CANPacker



VisualAlert = car.CarControl.HUDControl.VisualAlert

def process_hud_alert(enabled, fingerprint, visual_alert, left_line,
Expand Down
10 changes: 10 additions & 0 deletions selfdrive/car/hyundai/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

# Steer torque limits

class SteerLimitParams:
STEER_MAX = 255 # 409 is the max, 255 is stock
STEER_DELTA_UP = 3
STEER_DELTA_DOWN = 7
STEER_DRIVER_ALLOWANCE = 50
STEER_DRIVER_MULTIPLIER = 2
STEER_DRIVER_FACTOR = 1

# Steer torque limits

class SteerLimitParams:
STEER_MAX = 255 # 409 is the max, 255 is stock
STEER_DELTA_UP = 3
Expand Down

0 comments on commit 57d1aa2

Please sign in to comment.