Im using Mathworks' A* pathfinding algorithm and attempting to modify it so that it searches through a map that is constantly becoming more available. The ginput command given in the script for inserting start point, end point and obstacles produces them as cartesian coordinates but due to the nature of my surrounding code (I treat the map so to speak as a 2D matrix therefore matrix indecies used), I am not getting the results desired. Is there a way to either insert my points manually as cartesian coordinates or change the format of the matrix to be cartesian based?
1 Comment
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/704192-mathworks-example-a-pathfinding-algorithm-problems#comment_1232327
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/704192-mathworks-example-a-pathfinding-algorithm-problems#comment_1232327
Sign in to comment.