setInitialParDirection

open fun setInitialParDirection(initialParDirection: GoBildaPinpointDriver.EncoderDirection): TwoWheelLocalizer.Params.Builder

Sets the initial tracking direction of the parallel wheel, which will be sent to the Pinpoint driver on construction of the localizer. This initial direction will be stored in the parameters object and is used for tuning.

During initialisation, you must set the direction of your Pinpoint wheels here using these methods, otherwise tuning will not work. Do not set the directions of your wheels directly on the driver, it is applied here.

Return

the builder

Parameters

initialParDirection

the direction of the parallel wheel such that forward movement is positive reading