withInitialPose

fun withInitialPose(initialPose: Pose2d): SwerveLocalizer

Returns a new localizer with the given initial pose.