Text this: Ship path planning and tracking based on rapidly exploring random tree star and convex optimization