Skip to content

Commit e3e0881

Browse files
authored
Merge pull request AtsushiSakai#60 from tsaoyu/master
Correct small typo
2 parents 79af1e1 + 88f7e25 commit e3e0881

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PathPlanning/Dijkstra/dijkstra.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ def dijkstra_planning(sx, sy, gx, gy, ox, oy, reso, rr):
8585
else:
8686
openset[n_id] = node
8787

88-
rx, ry = calc_fianl_path(ngoal, closedset, reso)
88+
rx, ry = calc_final_path(ngoal, closedset, reso)
8989

9090
return rx, ry
9191

9292

93-
def calc_fianl_path(ngoal, closedset, reso):
93+
def calc_final_path(ngoal, closedset, reso):
9494
# generate final course
9595
rx, ry = [ngoal.x * reso], [ngoal.y * reso]
9696
pind = ngoal.pind

0 commit comments

Comments
 (0)