build

Build the current trajectory and return it as a Task/Action.