简体   繁体   English

MPU6050四元数数学

[英]MPU6050 Quaternion math

Does anyone know how the MPU6050 internally calculates the quaternion values? 有谁知道MPU6050如何内部计算四元数值? I followed all of the steps to attempt and replicate this math by integrating the gyro degrees per second readings over time to get Euler angles and then converting those Euler angles to quaternion values with the appropriate trig functions. 我按照所有步骤尝试并通过累计随时间的每秒陀螺度读数来获取欧拉角,然后使用适当的三角函数将这些欧拉角转换为四元数值来尝试并复制此数学运算。 My quaternion values do not match up with the quaternion the MPU6050 outputs and I could not find details on the chip's internal math anywhere online. 我的四元数值与MPU6050输出的四元数不匹配,并且我无法在线上找到有关芯片内部数学运算的详细信息。 Thank you. 谢谢。

MPU6050结合使用内部处理器(dmp)和关闭的源代码库,但没有记录,您可以使用其关闭的源代码库和dmp图像,也可以在https:// www中检查此特定传感器的反向工程。 .i2cdevlib.com他们实现了dmp的一些功能,但不是全部,不幸的是,所有的魔术都是在dmp中实现的:(

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM