mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-14 16:57:58 -05:00
Correct small typo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user