configure
Configures the swerve drive using a DSL-style configuration block.
drive.configure {
trackWidth = Units.Meters.of(0.6)
wheelBase = Units.Meters.of(0.6)
maxLinearVelocity = Units.MetersPerSecond.of(4.5)
maxAngularVelocity = Units.RadiansPerSecond.of(2.0 * PI)
}Content copied to clipboard
Parameters
block
Configuration block to apply settings.