configure Swerve
Extension to configure an existing Engu for swerve use with a DSL.
Usage Example:
val encoder = Engu(1).configureSwerve {
offset = Rotation2d.fromDegrees(45.0)
clockwisePositive = false
}Content copied to clipboard