A star or Dijkstra algorithm for robot path searching