完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我想这不是一个很好的论坛,但是这里有一些非常聪明的人,他们可能会帮助我。我用电子陀螺仪和加速度计,我想计算设备转动的角度,而不考虑任何角度的变化。因此,例如,Z陀螺仪I可以精确地计算90度转弯,但当然当我倾斜装置时,Z陀螺仪读数相对于角度减慢。角度越陡,读数越慢。我想倾斜补偿可以用三角法,但我尝试过各种各样的东西,但我没能把它弄对。我希望能够测量在一个特定轴上旋转的程度,而不考虑在这个转弯期间设备是如何倾斜的。我还尝试将所有x、y和z值相加,这可能会起作用,但是陀螺仪的值在任何角度变化时都会发生变化,并且被添加到方程中。有什么想法吗?谢谢
以上来自于百度翻译 以下为原文 I guess this is not quite the right forum for this, but there some very smart people here, who might be able to help. I am using an electronic gyroscope and accelerometer, and I want to calculate the degrees the device has turned regardless of any angle changes whilst it is turning. So for example with the Z gyroscope I can calculate a 90 degree turn accurately, but of course when I tilt the device, the Z gyroscope readings slow down relative to the angle. The steeper the angle the slower the readings. I guess tilt compensation is possible using trigonometry, but I have tried various things and I have not been able to get it right. I want to be able to measure the degrees turned around a particular axis regardless of how the device is tilting during that turn. I have also tried summing all the X, Y and Z values together, which might work but the gyroscope values change during any angle change, and that is added to the equation. any ideas? thanks |
|
相关推荐
1个回答
|
|
设备相对于重力是否相对稳定?如果是这样,使用3轴加速度计应该能够测量芯片相对于“向下”的当前取向,因此随着时间的推移,一系列测量应该使其能够在合理的分辨率框架内跟踪每个轴的实际运动,这两者都是不同的。原来的,和总的角度距离在每个轴作为记录。还是我错过了一些问题?关于大卫
以上来自于百度翻译 以下为原文 Is the device relatively stable with respect to gravity? If so, using a 3-axis accelerometer should make it possible to measure the current orientation of the chip with respect to "down" so over time, a series of measurements should make it possible within a reasonable resolution frame to track the actual movement in each axis, both as a difference from the original, and total angular distance travelled in each axis as a record. Or have I missed something in the question? Regards David |
|
|
|
只有小组成员才能发言,加入小组>>
4825 浏览 9 评论
1831 浏览 8 评论
1749 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
2958 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2061 浏览 5 评论
463浏览 1评论
1112浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
366浏览 0评论
265浏览 0评论
LAN9252使用SQI通信,进行数字复位后读BYTE_TEST异常
1800浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-27 20:43 , Processed in 1.086053 second(s), Total 94, Slave 78 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191