Rotation Matrix and Convert a Vector to Yaw Pitch Roll

Hi Guys,

i have researched for a proper algorithm to convert a vector to yaw pitch roll angles (Tait-Bryan-Angles)
But most algorithm do not handle exceptions.

If there is someone out there who can give me a correct algorithm with all exception handles?

I already love you now :slight_smile:

Thanks and cheers

Sebastian