useFallbackLocalizer

Call to use the MecanumLocalizer as a backup localizer alongside the current localizer. Note if you are already using a MecanumLocalizer (default), this will duplicate your localizers and there isn't a point of calling this method. This localizer can be switched/tested as part of the SwitchableLocalizer.

Return

the SwitchableLocalizer


open fun useFallbackLocalizer(fallback: Localizer): SwitchableLocalizer

Call to set a fallback localizer that can be switched/tested to as part of the SwitchableLocalizer.

Return

the SwitchableLocalizer

Parameters

fallback

the backup localizer