Quaternions to Euler angles conversion

版本 1.0.1 (957 字节) 作者: J Chen
Convert quaternions to Euler angles using Z-Y-X rotation sequence
237.0 次下载
更新时间 2020/4/14

Convert quaternions to Euler angles. Note that the Euler angles are different for different rotation sequence. The Euler angles rotation sequence used in this code is z-y'-x'' (yaw, pitch, roll). The rotation is intrinsic, i.e., rotates along new axes. This definition is widely used by aerospace engineers.

Reference: https://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles

Verification: www.andre-gaschler.com/rotationconverter/
Note that quaternions to Euler is not unique but Euler to quaternions is unique. So it is better to get the Euler of a normalized quaternions (such as [ 0.7071068, 0, 0.7071068, 0]) from the function and use the verification tool to convert the Euler to quaternions. The quaternions should match if the rotation sequence is correctly chosen.

引用格式

J Chen (2024). Quaternions to Euler angles conversion (https://github.com/fuxicon/quaternion2euler), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2018b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.1

Modify description

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库