This controller converts Euler angles to Roll, Pitch and Heading in radians. The code is minified and can quickly be implemented in some other script.