getPIDCoefficients

open fun getPIDCoefficients(@NonNull mode: DcMotor.RunMode): PIDCoefficients

Returns the PID control coefficients used when running in the indicated mode on this motor.

Return

the PID control coefficients used when running in the indicated mode on this motor

Parameters

mode

either RUN_USING_ENCODER or RUN_TO_POSITION