Add code to the A* traversal algorithm to create and assign each grid cell with a heuristic value. The heuristic value should reflect the overall desire to traverse to that grid cell and should be a combination of that cell's distance to the goal and cost map value.
Add code to the A* traversal algorithm to create and assign each grid cell with a heuristic value. The heuristic value should reflect the overall desire to traverse to that grid cell and should be a combination of that cell's distance to the goal and cost map value.