This commit is contained in:
Atsushi Sakai
2019-01-15 22:40:04 +09:00
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ def calc_target_index(state, cx, cy):
# search look ahead target point index
while Lf > L and (ind + 1) < len(cx):
dx = cx[ind + 1] - cx[ind]
dy = cx[ind + 1] - cx[ind]
dy = cy[ind + 1] - cy[ind]
L += math.sqrt(dx ** 2 + dy ** 2)
ind += 1

View File

@@ -107,7 +107,7 @@ You can check the full documentation online: [https://pythonrobotics.readthedocs
1. Clone this repo.
> git clone https://github.com/dhiegomaga/PythonRobotics.git
> git clone https://github.com/AtsushiSakai/PythonRobotics.git
> cd PythonRobotics/