Skip to content

Commit

Permalink
syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arne182 authored Mar 27, 2020
1 parent 451f418 commit 129b19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/toyota/carstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def update(self, cp, cp_cam, frame):


ret.cruiseState.speed = min(max(7, int(ret.cruiseState.speed) - self.setspeedoffset),v_cruise_pcm_max)
if self.arne_sm.updated['latControl'] and self.v_ego > 11 and not travis:
if self.arne_sm.updated['latControl'] and ret.vEgo > 11 and not travis:
angle_later = self.arne_sm['latControl'].anglelater
else:
angle_later = 0
Expand Down

0 comments on commit 129b19c

Please sign in to comment.