withInitialPose

fun withInitialPose(initialPose: Pose2d): TankLocalizer

Returns a new localizer with the given initial pose.