Build the current trajectory and return it as a Task/Action.
Build the current trajectory and return it as a Task/Action. This overload also stores the last unmapped spliced pose in the given Reference object for manual chaining.