Indoor global path planning based on critical cells using dijkstra algorithm