Leader Following Trajectory Planning: A Trailer-Like Approach