DCM: range check the matrix before calculating pitch
The asin() in the pitch calculation can only take values between -1 and 1. This change ensures that the value is in range, and if it isn't then we force a normalization. If that fails we reset the matrix
Please register or sign in to comment