NO PATH! error when using global_planner with A*
I am trying to use the global_planner (http://wiki.ros.org/global_planner) and enable it for A* to use for comparing with my own planner. However, when trying to set 'use_dijkstra' to false so it'll use A* I'm getting the error:
[ERROR] [1664195953.446378924, 239.057000000]: NO PATH!
[ERROR] [1664195953.446519501, 239.057000000]: Failed to get a plan from potential when a legal potential was found. This shouldn't happen.
I've downloaded the global_planner to a local folder (where it successfully run when I change nothing) and then tried to alter: private_nh.param("use_dijkstra", use_dijkstra, true); in planner:core.cpp to false. I got the error.
I also tried to undo what I just did above and instead all the line: to move_base.launch in my turtlebot3 folder (which I also have local to try and have more control over what affects my planner) but I get the same error.
I also found this (https://answers.ros.org/question/2191...) and tried to follow the advice and change: if (fabs(nx - start_x) < .5 && fabs(ny - start_y) < .5) { to see if that might help, but it doesn't either.
Not quite sure about what to do at the moment, so I figured I'd see if anyone could help me. Thanks in advance.
PS: Not my most pressing problem, but as I'd like to compare my planner with another A* I would like them to function similar and I've heard and it seems that global_planner does some smoothing on the path it takes? I'd like to disable this if possible, but not sure how at the moment?