From 88f7e25ea1bc1539768033af5b8c5e42997ad554 Mon Sep 17 00:00:00 2001 From: Yu Cao Date: Wed, 30 May 2018 21:58:50 +0100 Subject: [PATCH] Correct small typo --- PathPlanning/Dijkstra/dijkstra.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PathPlanning/Dijkstra/dijkstra.py b/PathPlanning/Dijkstra/dijkstra.py index 2a511bfb..c1c865e1 100644 --- a/PathPlanning/Dijkstra/dijkstra.py +++ b/PathPlanning/Dijkstra/dijkstra.py @@ -85,12 +85,12 @@ def dijkstra_planning(sx, sy, gx, gy, ox, oy, reso, rr): else: openset[n_id] = node - rx, ry = calc_fianl_path(ngoal, closedset, reso) + rx, ry = calc_final_path(ngoal, closedset, reso) return rx, ry -def calc_fianl_path(ngoal, closedset, reso): +def calc_final_path(ngoal, closedset, reso): # generate final course rx, ry = [ngoal.x * reso], [ngoal.y * reso] pind = ngoal.pind