Sampling-based Algorithms for Path Planning of a Mobile Robot