followTrajectory

public Command followTrajectory(Trajectory trajectory)

Returns a Command that follows the provided trajectory.