Skip to content

Commit

Permalink
[main.py] Change class definition
Browse files Browse the repository at this point in the history
PathPlanning does not require to pass an object of class Map
  • Loading branch information
urastogi885 committed May 7, 2020
1 parent 2fc70c3 commit dfeac47
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from utils import planner, obstacle_space
from utils import planner
import cv2


if __name__ == "__main__":
grid = obstacle_space.Map()

planner = planner.PathPlanning(grid, (0, 0), (9, 6))
planner = planner.PathPlanning((0, 0), (9, 6))
planner.explore()
cv2.destroyAllWindows()

0 comments on commit dfeac47

Please sign in to comment.