ivogeorg / FCND-Motion-Planning

Udacity FCND Project 2 - Planning in complex urban environment using udacidrone API
1 stars 0 forks source link

Bidirectional heuristic grid path search #14

Open ivogeorg opened 1 year ago

ivogeorg commented 1 year ago

Mono-directional A* is too slow even in the 2D grid for paths longer than about 150 steps. Implement optimal bidirectional heuristic search, starting simultaneously forward from start and backward from goal. This may need to be multithreaded, with all the additional complications and workspace environment setup.

ivogeorg commented 1 year ago

Standard Python is only pseudo-multithreaded. It has the global interpreter lock (GIL). Essentially, there is no preemption and an executing thread is waited on until completion. True multithreaded behavior can be achieved with the package multiprocessing.