Skip to content

Commit 88f7e25

Browse files
committed
Correct small typo
1 parent 7b383f8 commit 88f7e25

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)