Skip to contents

from euclideanspace.com,

Usage

quaternion2EulerAngles(q)

Details

Convention: Euler is (Heading, Attitude, Bank) so that Heading = rotation around y, Attitude = rotation around z, Bank = rotation around x, in that order.