Exemplo n.º 1
0
 def CalcPath(self, start, goal):
     astar = AStar(self.nodes)
     print('Calculating Shortest Path')
     coords = astar.GetPath(start, goal)
     if coords == None:
         post({'astar': False}, 'astar')
         coords = {}
     #print(coords)
     post({'coords': coords}, 'coords')