getCurrent

open fun getCurrent(@NonNull unit: CurrentUnit): Double

Returns the current consumed by this motor.

Return

the current consumed by this motor.

Parameters

unit

current units