mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-02-11 17:36:56 -05:00
code clean up
This commit is contained in:
@@ -142,15 +142,9 @@ def calc_obstacle_map(ox, oy, reso, vr):
|
||||
miny = round(min(oy))
|
||||
maxx = round(max(ox))
|
||||
maxy = round(max(oy))
|
||||
# print("minx:", minx)
|
||||
# print("miny:", miny)
|
||||
# print("maxx:", maxx)
|
||||
# print("maxy:", maxy)
|
||||
|
||||
xwidth = round(maxx - minx)
|
||||
ywidth = round(maxy - miny)
|
||||
# print("xwidth:", xwidth)
|
||||
# print("ywidth:", ywidth)
|
||||
|
||||
# obstacle map generation
|
||||
obmap = [[False for i in range(xwidth)] for i in range(ywidth)]
|
||||
|
||||
Reference in New Issue
Block a user