Bezier-curve path for mobile robots