Complementary filter (Gyro + accel) with Android

后端 未结 4 629
旧时难觅i
旧时难觅i 2021-01-31 06:36

Recently I have made some research to use both the accelerometer + Gyroscope to use those senser to track a smartphone without the help of the GPS (see this post) Indoor Positi

4条回答
  •  余生分开走
    2021-01-31 07:13

    I can only repeat myself.

    You get position by integrating the linear acceleration twice but the error is horrible. It is useless in practice. In other words, you are trying to solve the impossible.

    What you actually can do is to track just the orientation.

    Roll, pitch and yaw are evil, do not use them. Check in the video I already recommended, at 38:25.

    Here is an excellent tutorial on how to track orientation with gyros and accelerometers.

    Similar questions that you might find helpful:

    track small movements of iphone with no GPS
    What is the real world accuracy of phone accelerometers when used for positioning?
    how to calculate phone's movement in the vertical direction from rest?
    iOS: Movement Precision in 3D Space
    How to use Accelerometer to measure distance for Android Application Development
    Distance moved by Accelerometer
    How can I find distance traveled with a gyroscope and accelerometer?

提交回复
热议问题