Text this: Distributed Trajectory Optimization for Connected and Automated Vehicle Platoons Considering Safe Inter-Vehicle Following Gaps