configure

abstract fun configure(block: T.() -> Unit)

Configures the motor using a DSL-style configuration block.

motor.configure {
inverted = true
pingu.p = 0.1
}

Parameters

block

A lambda that applies configuration settings to the motor.