1 Star 0 Fork 2

mmmmachine/GPS-INS-Integrated-Navigation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Quaternion_FromEulerAngle.m 600 Bytes
一键复制 编辑 原始数据 按行查看 历史
nico 提交于 2017-01-19 16:35 . gps ins integrated navigation
function [w,x,y,z]=Quaternion_FromEulerAngle( ea_fRoll,ea_fPitch,ea_fYaw) %%ŷתԪ
fCosHRoll = cos(ea_fRoll * 0.5);
fSinHRoll = sin(ea_fRoll * 0.5);
fCosHPitch = cos(ea_fPitch * 0.5);
fSinHPitch = sin(ea_fPitch * 0.5);
fCosHYaw = cos(ea_fYaw * 0.5);
fSinHYaw = sin(ea_fYaw * 0.5);
w = fCosHRoll*fCosHPitch*fCosHYaw+fSinHRoll*fSinHPitch*fSinHYaw;
x = fCosHPitch * fSinHRoll * fCosHYaw - fCosHRoll * fSinHPitch * fSinHYaw;
y = fCosHRoll * fCosHYaw * fSinHPitch + fSinHRoll * fCosHPitch * fSinHYaw;
z = fCosHRoll * fCosHPitch * fSinHYaw - fCosHYaw * fSinHPitch * fSinHRoll;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Matlab
1
https://gitee.com/mmmmachine/GPS-INS-Integrated-Navigation.git
git@gitee.com:mmmmachine/GPS-INS-Integrated-Navigation.git
mmmmachine
GPS-INS-Integrated-Navigation
GPS-INS-Integrated-Navigation
master

搜索帮助