Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
remove v_ego
Browse files Browse the repository at this point in the history
  • Loading branch information
arne182 authored Mar 29, 2020
1 parent 7d38a11 commit ac246ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/toyota/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def update(self, enabled, CS, frame, actuators, pcm_cancel_cmd, hud_alert,
#print (apply_steer)
apply_steer_req = 1

if not enabled and self.leftLaneDepart and CS.v_ego > 12.5 and not CS.out.leftBlinker:
if not enabled and self.leftLaneDepart and CS.out.vEgo > 12.5 and not CS.out.leftBlinker:
apply_steer = self.last_steer - 3
apply_steer = max(apply_steer , -800)
#print ("left")
Expand Down

0 comments on commit ac246ea

Please sign in to comment.