Robust And Efficient Trajectory Definition