build

Initializes a new path for the trajectory sequence.

This method resets the last duration and displacement of the trajectory segment, calculates the tangent for the new path, and creates a new `TrajectoryBuilder` with the current pose, tangent, velocity constraint, and acceleration constraint. If there is an existing trajectory builder, it pushes the current path to the sequence segments.