当前位置:网站首页>六轴传感器使用学习记录
六轴传感器使用学习记录
2022-07-25 19:25:00 【zterrorblade】
六轴包含加速度计和陀螺仪,输出三轴加速度和三轴角速度,如果是九轴还加上磁力计输出地球磁场相关数据用于算出设备当前确切欧拉角以得到设备姿态,否则只能得到相对旋转角度
QMI8658
https://blog.csdn.net/weixin_43924988/article/details/124056069
注意读取QMI8658六轴数据与真实加速度、角速度数据之间的转换
欧拉角、姿态角、四元数、转换矩阵
1)姿态角 pitch yaw roll
https://blog.csdn.net/yuzhongchun/article/details/22749521
2)欧拉角与姿态角
姿态角:指的是机体坐标系与地理坐标系的夹角。
欧拉角:绕机体坐标系三个轴旋转的角度。
关系:绕某种旋转顺序的欧拉角与姿态角相等。
(1)在NED(北东地)坐标系(地理坐标系)和前右下坐标系(机体坐标系)的定义中,只有按ZYX顺序旋转的欧拉角才是姿态角,即按偏航-俯仰-滚转(3-2-1)的旋转顺序。因而地理坐标系到机体坐标系的旋转矩阵即为:R(roll)*R(pitch)*R(yaw)(R(x)*R(y)*R(z)).
(2)在东北天坐标系(地理坐标系)和右前上坐标系(机体坐标系)的定义中,只有按ZXY顺序旋转的欧拉角才是姿态角,即按3-1-2的旋转顺序.因而地理坐标系到机体坐标系的旋转矩阵即为:R(y)*R(x)*R(z).
其他如气流坐标系与机体坐标系的旋转矩阵可类似得到。
**总结:**坐标系的定义与旋转矩阵是配套的,禁止混用!
3)四元数
讲解四元素的定义,各量与旋转角度、旋转向量之间的计算公式,即
这样做坐标变换时,便于计算且对3元数计算结果也是三元数,q共轭 坐标 q
https://www.zhihu.com/question/23005815/answer/33971127
4)四元数和欧拉角关系、相互转换
理解梳理:1.欧拉角的坐标转换矩阵:

2.四元数的坐标转换矩阵

3.四元数与欧拉角
参考维基百科[2]的思路,欧拉角构造四元数,跟欧拉角构造旋转矩阵一样,就是把三个基础旋转Elemental Rotation组合在一起,参考wiki

example,实例传感器,代码?
边栏推荐
- How to analyze qiime2 after obtaining picrust2 results
- 小程序毕设作品之微信校园维修报修小程序毕业设计成品(4)开题报告
- CRM configuration item command notes
- 安全基础6 ---漏洞复现
- FPGA based 1080p 60Hz bt1120 interface debugging process record
- 阿姆利塔工程学院|用于情感分析的方面术语提取中优化采样的强化主动学习方法
- 【阅读笔记】《深度学习》第一章:引言
- JS basic type reference type deep / shallow clone copy
- Based on easycv to reproduce Detr and dab-detr, the correct opening method of object query
- The finished product of wechat campus maintenance and repair applet graduation design (1) development outline
猜你喜欢

【阅读笔记】《深度学习》第一章:引言

Pymoo learning (5): convergence analysis

Have you ever seen this kind of dynamic programming -- the stock problem of state machine dynamic programming (Part 1)

Actual combat of MySQL database design project of online mall system

Clip can also do segmentation tasks? The University of Gottingen proposed a model clipseg that uses text and image prompt and can do three segmentation tasks at the same time, squeezing out the clip a

NPM semantic version control, solution console prop being mutated: "placement" error

微信小程序开发之网络数据请求

Common development software download addresses

What is the application value of MES management system

Talk about 15 tips of SQL optimization
随机推荐
阿里云免费SSL证书申请详细流程
Istio exposes applications to the Internet
鸿蒙-大喵计算画板-视频
Improvement of wechat applet 28 hot search list ①
Eve - 0day Threat Intelligence
Pymoo learning (7): Parallelization
加州大学|用于未指定环境的可行对抗鲁棒强化学习
Flutter tips: optimizing the buildcontext you use
Imeta | sangerbox: interactive integrated clinical information analysis platform
Why learn service grid istio
SQL Server 2019 installation tutorial
Have you ever seen this kind of dynamic programming -- the stock problem of state machine dynamic programming (Part 1)
InTouch advanced alarm (alarm filtering)
Empire CMS whole station | mobile number /qq lianghao mall source code | suitable for mobile terminal
Monitor MySQL based on MySQL exporter
iMeta | Sangerbox: 交互式整合临床生信分析平台
微信小程序 28 热搜榜的完善①
Hongke shares | how to solve blackmail software security vulnerabilities
平衡二叉树
GBASE 8s UDR内存管理_01_mi_alloc