We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ef1347 commit 4706e4bCopy full SHA for 4706e4b
PathTracking/pure_pursuit/pure_pursuit.py
@@ -93,7 +93,7 @@ def calc_target_index(state, cx, cy):
93
while True:
94
index = index + 1 if (index + 1) < len(cx) else index
95
distance_next_index = calc_distance(state, cx[index], cy[index])
96
- if distance_this_index < distance_next_index
+ if distance_this_index < distance_next_index:
97
break
98
distance_this_index = distance_next_index
99
old_nearest_point_index = index
0 commit comments