Trajectory generation for the N-trailer problem using Goursat normal form | Synapse