Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am having the same kind of error.

One solution could be to increase the constant distance values in here from 0.5 to 1.0 .

I think this is due to missing potential values on cells around the start of the path, see this picture image description

The white space under the axes represents cells to which no potential was assigned. Sometimes the cell (nx,ny) is far more than 0.5 (m?) from start cell in here, therefore the path extraction will return false (exit from the while loop).

What do you think?

Best,

L.