Text this: A bezier curve optimization method based on segmentation factor (t) for path planning in autonomous navigation