Skip to content

Commit

Permalink
last commit didn't have saved values
Browse files Browse the repository at this point in the history
  • Loading branch information
Gernby committed Jan 1, 2019
1 parent bf6c44d commit 1a36d19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions selfdrive/controls/lib/latcontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ def apply_deadzone(angle, deadzone):
class LatControl(object):
def __init__(self, CP):

_ADJUST_REACTANCE = 1.5
_ADJUST_INDUCTANCE = 1.5
_ADJUST_RESISTANCE = 0.5
_ADJUST_REACTANCE = 0.7
_ADJUST_INDUCTANCE = 1.0
_ADJUST_RESISTANCE = 1.0

KpV = [np.interp(25.0, CP.steerKpBP, CP.steerKpV) * _ADJUST_REACTANCE]
KiV = [np.interp(25.0, CP.steerKiBP, CP.steerKiV) * _ADJUST_REACTANCE]
Expand Down

0 comments on commit 1a36d19

Please sign in to comment.