Mathworks example A* pathfinding algorithm problems
20 次查看(过去 30 天)
显示 更早的评论
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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Exploration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!