Skip to content

Commit

Permalink
Update vehicle_control.py
Browse files Browse the repository at this point in the history
Correct typo
  • Loading branch information
Bharath2 authored Apr 17, 2022
1 parent f45dbb8 commit ea3698b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/vehicle_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def vehicle_kinematics(state, action):


#Construct cost to overtake
px1, py2, heading1, vel1, steer1 = state[:5]
px1, py1, heading1, vel1, steer1 = state[:5]
px2, py2, heading2, vel2, steer2 = state[5:]
#cost for reference lane
L = 0.2*(py1 - 1.5)**2
Expand Down

0 comments on commit ea3698b

Please sign in to comment.