Some context: I'm trying to compute a fundamental group of $O(p,q)$ (the indefinite orthogonal group of signature $(p,q)$).
I'm aware that it is not connected so I've proven explicitly that it has four connected components. So the problem reduces to $SO^+(p,q).$ By the method that was shown to us, we should find a homogeneous space of this group.
Then the stabilizer should be a group of a similar type (like $SO^+(p-1,q)$ or something). And then we can apply an exact sequence of fibration to reduce the problem to a smaller dimension. (It should work since this homogeneous space is supposedly contractible).
It works for example for $SO^+(3,1)$ and for Lobachevsky space $\mathbb{H}^3$ that is contractible homogeneous space of the said group.
Yet in more general setting I was unable to determine which space to use. Perhaps I should take $\{(x_0)^2+\ldots+(x_{p-1})^2-x_{p}^2-\ldots-x_{p+q-1}^2=1\}?$ However I don't know how to construct a contracting homotopy (if $p,q>0$) or how to correctly determine the stablizer of the point.
Any help would be appreciated!
P.S. I know there is a solution to this problem using Iwasawa decomposition and yet I don't want to go there. (However, it might be useful since it gives an answer immediately). This method suggests that $SO^+(p,q)$ contracts to the compact subgroup $SO(p)\times SO(q).$
UPD: I found out that I was actually quite wrong about contractability of the set $\{(x_0)^2+\ldots+(x_{p-1})^2-x_{p}^2-\ldots-x_{p+q-1}^2=1\}.$ It is in fact homotopy equivalent to $S^{p-1}.$ So using an exact sequence of fibration I managed to compute almost all fundamental groups except for the case of $SO^+(3,3).$
Here is a part of long exact sequence I'm struggling with: $$ \dots\to\pi_2(SO^+(3,3))\to \pi_2(S^2) \to \pi_1(SO^+(2,3))\to\pi_1(SO^+(3,3))\to \pi_1(S^2)=0 \to \dots $$
I know that $\pi_2(SO^+(3,3))$ is zero, but I don't want to involve it.
Also, I computed $\pi_1(SO(2,3))\cong\mathbb{Z}\oplus\mathbb{Z}/2.$ So I want to show that the map $\pi_2(S^2)\cong\mathbb{Z}$ is injective. Then I want to understand why it maps $\pi_2(S^2)$ exactly to $2\mathbb{Z}\subset\mathbb{Z}\oplus\mathbb{Z}/2.$