configure

open override fun configure(block: TalonFXConfig.() -> Unit)

Configures the motor using a DSL-style configuration block.

motor.configure {
pingu.p = 0.1
inverted = InvertedValue.Clockwise_Positive
currentLimits = 40.0 to 60.0
}

Parameters

block

A lambda that applies configuration settings to the motor.