What are the matrix coefficients associated with the irreducible representations of a compact real linear algebraic group $G$?
Peter-Weyl tells us that $L^2(G)$ is the (closure of) $\bigoplus_\pi A_{\pi}$, where $A_{\pi}$ is the space of matrix coefficients associated with the representation $\pi$, and where $\pi$ runs over the irreducible unitary representations.
I've seen many sources that stop the discussion of Peter-Weyl here. My question is about how to compute this in practice. For a given compact real linear algebraic group, its irreducible (unitary) representations are classified by the theory of the highest weights. My question, therefore, boils down to whether there exists an easy way to compute the matrix coefficients for the irreducible representation associated with some weight.
As an example, how does it manifest in the case of the orthogonal group? What is the associated orthonormal basis for $L^2(G)$?