Description: Attitude calculation
Four yuan formula file code is
function dq=MyQuaternion(t,q,Wmx,Wmy,Wmz)
dq=zeros(4,1);
dq(1)=1/2*(-Wmx*q(2)-Wmy*q(3)-Wmz*q(4));
dq(2)=1/2*(Wmx*q(1)+Wmz*q(3)-Wmy*q(4));
dq(3)=1/2*(Wmy*q(1)-Wmz*q(2)+Wmx*q(4));
dq(4)=1/2*(Wmz*q(1)+Wmy*q(2)-Wmx*q(3));
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
四元数程序与惯组数据\AngleCompensation.m | 921 | 2018-10-25
|
四元数程序与惯组数据\imudata-2018-09-27-19-04-27.txt | 2027975 | 2018-09-27
|
四元数程序与惯组数据\imudata-2018-09-27-19-10-37.txt | 666653 | 2018-09-27
|
四元数程序与惯组数据\lab.m | 307 | 2018-10-25
|
四元数程序与惯组数据\MyQuaternion.m | 266 | 2018-10-25
|
四元数程序与惯组数据\MZD06_unpack.m | 2092 | 2018-10-23
|
四元数程序与惯组数据\MZD06用户使用手册.pdf | 683676 | 2018-10-22
|
四元数程序与惯组数据 | 0 | 2018-10-25 |