withDirections

fun withDirections(driveDirections: List<DcMotorSimple.Direction>, steeringDirections: List<DcMotorSimple.Direction>): SwerveLocalizer

Returns a new localizer with the given motor directions.