当前位置:网站首页>Six axis sensor use learning record
Six axis sensor use learning record
2022-07-25 19:35:00 【zterrorblade】
The six axes contain accelerometers and gyroscopes , Output three-axis acceleration and three-axis angular velocity , If it is nine axis, the magnetometer also outputs the relevant data of the earth's magnetic field, which is used to calculate the current exact Euler angle of the equipment to obtain the attitude of the equipment , Otherwise, you can only get the relative rotation angle
QMI8658
https://blog.csdn.net/weixin_43924988/article/details/124056069
Read carefully QMI8658 Six axis data and real acceleration 、 Conversion between angular velocity data
Euler Angle 、 Attitude angle 、 Four yuan number 、 Transformation matrix
1) Attitude angle pitch yaw roll
https://blog.csdn.net/yuzhongchun/article/details/22749521
2) Euler angle and attitude angle
Attitude angle : It refers to the angle between the body coordinate system and the geographical coordinate system .
Euler Angle : The angle of rotation around the three axes of the body coordinate system .
Relationship : The Euler angle around a certain rotation order is equal to the attitude angle .
(1) stay NED( Northeast land ) Coordinate system ( Geographic coordinate system ) And the front lower right coordinate system ( Body coordinate system ) The definition of , Only press ZYX The Euler angle of sequential rotation is the attitude angle , Press yaw - pitch - roll (3-2-1) Rotation order of . Therefore, the rotation matrix from geographical coordinate system to body coordinate system is :R(roll)*R(pitch)*R(yaw)(R(x)*R(y)*R(z)).
(2) In the Northeast celestial coordinate system ( Geographic coordinate system ) And the upper right front coordinate system ( Body coordinate system ) The definition of , Only press ZXY The Euler angle of sequential rotation is the attitude angle , Press 3-1-2 Rotation order of . Therefore, the rotation matrix from geographical coordinate system to body coordinate system is :R(y)*R(x)*R(z).
Others, such as the rotation matrix of the airflow coordinate system and the body coordinate system, can be obtained similarly .
** summary :** The definition of coordinate system is matched with the rotation matrix , Do not mix !
3) Four yuan number
Explain the definition of four elements , Each quantity and rotation angle 、 Calculation formula between rotation vectors , namely
When doing coordinate transformation in this way , Easy to calculate and correct 3 The result of the quaternion calculation is also a ternary ,q conjugate coordinate q
https://www.zhihu.com/question/23005815/answer/33971127
4) Relationship between quaternion and Euler angle 、 transformation
Understand and sort out :1. Coordinate transformation matrix of Euler angle :

2. Coordinate transformation matrix of quaternion

3. Quaternion and Euler angle
Refer to Wikipedia [2] The idea of , Euler angles construct quaternions , It is the same as the rotation matrix constructed by Euler angle , That is to rotate the three foundations Elemental Rotation Put together , Reference resources wiki

example, Example Sensor , Code ?
边栏推荐
- [record of question brushing] 21. Merge two ordered linked lists
- 加州大学|用于未指定环境的可行对抗鲁棒强化学习
- Small program completion work wechat campus maintenance application small program graduation design finished product (2) small program function
- Gbase 8s UDR memory management_ 01_ mi_ alloc
- 解决Win10账户没有了管理员权限
- Wechat campus maintenance and repair applet graduation design finished product (5) assignment of applet completion work
- IP地址的概念
- 微信小程序开发之全局配置与页面配置
- Improvement of wechat applet 26 playing music page ②
- 【神器】截图+贴图工具 Snipaste
猜你喜欢

Heavy! The new book "deep learning in geometry" was released, which was jointly written by imperial Institute of technology /deepmind and other figures ml Daniel. The 160 page PDF expounds the basic p

英诚医院内部网络规划与设计

北航等《深度学习事件抽取》文献综述论文,27页pdf阐述当前趋势

Concept of IP address

Wechat campus maintenance and repair application applet graduation design finished product of applet completion work (6) opening defense ppt

919. Complete binary tree inserter

滑雪手机端H5小游戏源码下载
![[record of question brushing] 21. Merge two ordered linked lists](/img/81/5f1ab0054ef5e8cba32f7a546a64c4.png)
[record of question brushing] 21. Merge two ordered linked lists

Wechat campus maintenance application applet graduation design finished product of applet completion work (3) background function

【神器】截图+贴图工具 Snipaste
随机推荐
阿姆利塔工程学院|用于情感分析的方面术语提取中优化采样的强化主动学习方法
Hash undirected graph visualization
Wechat applet 10 - wechat template
Eve - 0day Threat Intelligence
How to be a self disciplined person?
[good book recommendation] - authoritative guide to Ethernet (2nd Edition)
Research and application of servo driver in robot
ERROR: role “admin“ cannot be dropped because some objects depend on itDETAIL:
微信小程序 27 进度条的动态实现和搜索框、热搜榜的静态搭建
小程序毕设作品之微信校园维修报修小程序毕业设计成品(4)开题报告
Istio exposes applications to the Internet
英诚医院内部网络规划与设计
网络数据包多层传输演示
Code sharing of social chat platform developed by dating website (III)
某公司网络设计与规划
Beihang and other "deep learning event extraction" literature review paper, 27 page PDF describes the current trend
【刷题记录】21. 合并两个有序链表
哈希无向图可视化
Siemens PLM Teamcenter download, installation and use tutorial
Illegal mix of collations for operation ‘UNION‘(bug记录)