Skip to content

Commit bbde6e8

Browse files
committed
2 parents 172cf9f + d9ee56e commit bbde6e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PathTracking/pure_pursuit/pure_pursuit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def calc_target_index(state, cx, cy):
8585
# search look ahead target point index
8686
while Lf > L and (ind + 1) < len(cx):
8787
dx = cx[ind + 1] - cx[ind]
88-
dy = cx[ind + 1] - cx[ind]
88+
dy = cy[ind + 1] - cy[ind]
8989
L += math.sqrt(dx ** 2 + dy ** 2)
9090
ind += 1
9191

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ You can check the full documentation online: [https://pythonrobotics.readthedocs
107107

108108
1. Clone this repo.
109109

110-
> git clone https://github.com/dhiegomaga/PythonRobotics.git
110+
> git clone https://github.com/AtsushiSakai/PythonRobotics.git
111111
112112
> cd PythonRobotics/
113113

0 commit comments

Comments
 (0)