Let $G$ be a compact connected Lie group with Lie algebra $\mathfrak g$ of dimension $m$.
We fix an inner product $\langle\cdot,\cdot\rangle$ on $\mathfrak g$.
We may assume (in case is necessary) that $G$ is semisimple and/or $\langle\cdot,\cdot\rangle$ is $\textrm{Ad}(G)$-invariant.
Given any subspace $\mathcal H$ of $\mathfrak g$, $(\mathcal H,\langle\cdot,\cdot\rangle|_{\mathcal H})$ induces a left-invariant sub-Riemannian structure on $G$. The corresponding sub-Riemannian manifold $(G,\mathcal H,\langle\cdot,\cdot\rangle|_{\mathcal H})$ has associated a distance $d_{\mathcal H}$ on $G$ known as the Carnot–Carathéodory metric. For $a,b\in G$, $$d_{\mathcal H}(a,b)=\inf_{\gamma} \int_0^1 \langle \gamma'(t),\gamma'(t)\rangle^{1/2}\, dt,$$ where the infimum is taken over all smooth curves $\gamma:[0,1]\to G$ such that $\gamma(0)=a$, $\gamma(1)=b$, and $\gamma'(t)\in \mathcal H$ for all $t$. Chow's theorem ensures that $d_{\mathcal H}(a,b)<\infty$ for all $a,b\in G$ if $\mathcal H$ is bracket-generating (i.e. the only subalgebra of $\mathfrak g$ containing $\mathcal H$ is $\mathfrak g$). I am interested in the diameter of the metric space $(G,d_{\mathcal H})$, i.e. $$\textrm{diam}(G,d_{\mathcal H})=\max_{a,b\in G}d_{\mathcal H}(a,b).$$
Let $\textrm{Gr}_{\mathfrak g}(k)$ denote the set of $k$-dimensional subspaces of $\mathfrak g$. This is a symmetric space called Grassmannian. We will only use the topology on it induced by the distance metric associated with the Riemannian symmetric metric.
Is the map $\Phi: \textrm{Gr}_{\mathfrak g}(k)\to \mathbb R_{\geq 0}\cup\{\infty\}$ given by $\Phi(\mathcal H)= \textrm{diam}(G,d_{\mathcal H})$ continuous?
A reference or a proof would be very appreciated.