A new approach to trajectory optimization based on direct transcription and differential flatness. (February 2015)