Comparison of optimal path planning algorithms for an autonomous mobile robot