Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
emmertex committed Jul 12, 2019
1 parent 46551ba commit 43b8b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/hyundai/carstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def update(self, cp, cp_cam):
self.car_gas = cp.vl["EMS12"]['TPS']

# Learn Minimum Steer Speed
if self.mdps12_flt != 0 and self.v_ego_raw > 0. and abs(self.angle_steers) < 10.0 and self.lkas11_icon != 2:
if self.mdps12_flt != 0 and self.v_ego_raw > 0. and abs(self.angle_steers) < 5.0 and self.lkas11_icon != 2:
if self.v_ego_raw > self.min_steer_speed:
self.min_steer_speed = self.v_ego_raw + 0.1
# If we have LKAS_Icon == 2, then we know its 16.7m/s
Expand Down

0 comments on commit 43b8b4a

Please sign in to comment.