Well after improving my history functions and some little tweaks to the next coordinate function I have made progress, but now it is getting stuck on one shape and I have no idea why. Any...
Type: Posts; User: GeekWarth
Well after improving my history functions and some little tweaks to the next coordinate function I have made progress, but now it is getting stuck on one shape and I have no idea why. Any...
I changed that to something a bit more reliable as well as removing the code in the AStar function that preloaded the start location. It seems to work much batter and is actually trying to navigate...
It goes out of bounds and stays there. I ended the tracing print at that point. Sorry I should have stated that. It should also be making some sort of attempt to head in the direction of the end...
I beleive the problem lies within this function:
//Find the next coordinate for the bot to travel to
public Point AStarFindNext(Point now)
{
Point next = now; //So we don't send back a...
I apologize and Norm is right about the other forum, I will stop updating there. I updated the attachment with comments in the NavigationBot class since it is most definitely the source of my...
I am trying to make a A-Star, Breadth-First, and Depth-First simulator for a homework assignment. I'm not sure what I am doing wrong as the search always tries to go out of bounds of the environment....