iOS 设备上的传感器融合

编程入门 行业动态 更新时间:2024-10-27 12:32:04
本文介绍了iOS 设备上的传感器融合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想知道如何开始在 iPhone 上实现传感器融合.我从 David Sachs 的这个演讲开始:

I'm trying to find out how could I start to implement sensor fusion on the iPhone. I've started from this talk from David Sachs:

Android 设备上的传感器融合

尽管 David 的演讲非常具有说明性,但并没有显示任何代码(这是有道理的).我已经看到了 GLGravity(提取重力矢量)和AccelerometerGraph 示例,但我需要一些帮助或至少指导结合加速度计、陀螺仪和罗盘输入,使结果与 David 显示的相似.

Although David's talk is very illustrative, it doesn't show any code (it makes sense). I've seen both the GLGravity (to extract the gravity vector) and the AccelerometerGraph examples, but I need some help or at least guidance on how to combine the accelerometer, gyroscope and compass inputs so that the result is similar to what David shows.

谢谢

推荐答案

更新: 截至 2015 年 5 月 19 日,在移动设备上自行实施传感器融合毫无意义:Android (SensorManager)和 iPhone (CMAttitude 下的 noreferrer">Core Motion 提供了它自己的.

UPDATE: As of May 19, 2015, there is no point in implementing sensor fusion yourself on mobile devices: Both Android (SensorManager under Sensor.TYPE_ROTATION_VECTOR) and iPhone (Core Motion under CMAttitude) offers its own.

(2011 年 5 月 5 日的原始答案)

我已经为 Shimmer 2 设备实现了传感器融合,基于这个手稿.我强烈推荐它.

I have implemented sensor fusion for Shimmer 2 devices based on this manuscript. I highly recommend it.

传感器融合通常通过卡尔曼滤波器实现.

Sensor fusion is often achieved by Kalman Filter.

然而,没有程序员的卡尔曼滤波器"这样的东西.卡尔曼滤波器很难理解.如果您不了解它,您将无法正确实施和使用它.就用上面的手稿.

However, there is no such thing as "Kalman Filter for programmers". Kalman filter is difficult to understand. You won't be able to implement and use it correctly if you do not understand it. Just use the above manuscript.

更多推荐

iOS 设备上的传感器融合

本文发布于:2023-11-24 05:47:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1624151.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:传感器   设备   iOS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!