trackDirection

open fun trackDirection(@NonNull supplier: Supplier<DcMotorSimple.Direction>)

Set a supplier that will be used to auto-set encoder direction.

Parameters

supplier

the supplier to use