Flatness, motion planning and trailer systems | Synapse