Skip to content

Commit

Permalink
Update kegman_conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitanyc authored Aug 27, 2020
1 parent 4d60d70 commit 15e5381
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions selfdrive/kegman_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,22 +95,22 @@ def read_config(self):
self.element_updated = True

if "slowOnCurves" not in self.config:
self.config.update({"slowOnCurves":"0"})
self.config.update({"slowOnCurves":"1"})
self.element_updated = True

if "Kf" not in self.config:
self.config.update({"Kf":"-1"})
self.element_updated = True

if "sR_boost" not in self.config:
self.config.update({"sR_boost":"0"})
self.config.update({"sR_BP0":"0"})
self.config.update({"sR_BP1":"0"})
self.config.update({"sR_boost":"4.5"})
self.config.update({"sR_BP0":"4.0"})
self.config.update({"sR_BP1":"7.0"})
self.config.update({"sR_time":"1"})
self.element_updated = True

if "ALCnudgeLess" not in self.config:
self.config.update({"ALCnudgeLess":"0"})
self.config.update({"ALCnudgeLess":"1"})
self.config.update({"ALCminSpeed":"20.1168"})
self.element_updated = True

Expand All @@ -136,15 +136,15 @@ def read_config(self):

else:
self.config = {"cameraOffset":"0.06", "lastTrMode":"1", "battChargeMin":"60", "battChargeMax":"70", \
"wheelTouchSeconds":"180", "battPercOff":"25", "carVoltageMinEonShutdown":"11800", \
"wheelTouchSeconds":"600", "battPercOff":"25", "carVoltageMinEonShutdown":"11800", \
"brakeStoppingTarget":"0.25", "tuneGernby":"1", \
"Kp":"-1", "Ki":"-1", "liveParams":"1", "leadDistance":"5", "deadzone":"0.0", \
"1barBP0":"-0.1", "1barBP1":"2.25", "2barBP0":"-0.1", "2barBP1":"2.5", "3barBP0":"0.0", \
"3barBP1":"3.0", "1barMax":"2.1", "2barMax":"2.1", "3barMax":"2.1", \
"1barHwy":"0.4", "2barHwy":"0.3", "3barHwy":"0.1", \
"steerRatio":"-1", "steerRateCost":"-1", "slowOnCurves":"0", "Kf":"-1", \
"sR_boost":"0", "sR_BP0":"0", "sR_BP1":"0", "sR_time":"1", \
"ALCnudgeLess":"0", "ALCminSpeed":"20.1168", "ALCtimer":"2.0", "CruiseDelta":"8", \
"steerRatio":"-1", "steerRateCost":"-1", "slowOnCurves":"1", "Kf":"-1", \
"sR_boost":"4.5", "sR_BP0":"4.0", "sR_BP1":"7.0", "sR_time":"1", \
"ALCnudgeLess":"1", "ALCminSpeed":"20.1168", "ALCtimer":"2.0", "CruiseDelta":"8", \
"CruiseEnableMin":"40", "epsModded": "0"}


Expand Down

0 comments on commit 15e5381

Please sign in to comment.