withInitialPose

fun withInitialPose(initialPose: Pose2d): TwoDeadWheelLocalizer

Returns a new localizer with the given initial pose.