How to disable linear closed loop control?

What is linear closed loop control?
When would I want to disable it?
How do I disable it?
Last updated

Last updated
SmartMotorControllerConfig motorConfig = new SmartMotorControllerConfig(this)
.withControlMode(ControlMode.CLOSED_LOOP)
.withWheelDiameter(Inches.of(4))
.withIdleMode(MotorMode.COAST)
.withClosedLoopController(50,0,0,MetersPerSecond.of(3), MetersPerSecondPerSecond.of(5))
.withLinearClosedLoopController(false);