What is the real world accuracy of phone accelerometers when used for positioning?
If you integrate the accelerometer values twice you get position but the error is horrible. It is useless in practice.
Here is an explanation why (Google Tech Talk) at 23:20.
I answered a similar question.
Accuracy of Accelerometer sensor provided by Android
No, the accelerometer is not accurate enough, see my previous answer at Android accelerometer accuracy (Inertial navigation).
This question pops up surprisingly often, see for example Distance moved by Accelerometer for a collection of similar questions.
Android accelerometer accuracy (Inertial navigation)
You get position by integrating the linear acceleration twice but the error is horrible. It is useless in practice.
Here is an explanation why (Google Tech Talk) at 23:20. I highly recommend this video.
It is not the accelerometer noise that causes the problem but the gyro white noise, see subsection 6.2.3 Propagation of Errors. (By the way, you will need the gyroscopes too.)
As for indoor positioning, I have found these useful:
RSSI-Based Indoor Localization and Tracking Using Sigma-Point Kalman Smoothers
Pedestrian Tracking with Shoe-Mounted Inertial Sensors
Enhancing the Performance of Pedometers Using a Single Accelerometer
I have no idea how these methods would perform in real-life applications or how to turn them into a nice Android app.
A similar question is this.
UPDATE:
Apparently there is a newer version than the above Oliver J. Woodman, "An introduction to inertial navigation", his PhD thesis:
Pedestrian Localisation for Indoor Environments
Distance moved by Accelerometer
You get position by integrating the linear acceleration twice but the error is horrible. It is useless in practice.
Here is an explanation why (Google Tech Talk) at 23:20. I highly recommend this video.
However the gyro mouse might work for your application, see between 37:00-38:25 in the video.
Similar questions:
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
How can I find distance traveled with a gyroscope and accelerometer?
Does we have possibility to get current speed in android without GPS?
Accurate speed measurements require some form of distance/time calculation, unless you want to play some hairy games with the accelerometer and don't mind being completely wrong.
See e.g., http://www.chrobotics.com/library/accel-position-velocity
Indoor Positioning System based on Gyroscope and Accelerometer
Gyros and accelerometers are not enough.
You get position by integrating the linear acceleration twice but the error is horrible. It is useless in practice.
Here is an explanation by (Google Tech Talk) at 23:20. I highly recommend this video.
As for indoor positioning, I have found these useful:
- RSSI-Based Indoor Localization and Tracking Using Sigma-Point Kalman Smoothers
- Pedestrian Tracking with Shoe-Mounted Inertial Sensors
- Enhancing the Performance of Pedometers Using a Single Accelerometer
I have no idea how these methods would perform in real-life applications or how to turn them into a nice Android app.
A similar question is Calculating distance within a building.
Android accelerometer detect height?
Assuming you mean you want to detect the height the phone was raised from its staring point, yes. The android accelerometer measures force, more info on how to use it can be found here. Keep in mind that the accelerometer isn't a perfect device, and so your results will be approximations of how much the phone was really moved.
track small movements of iphone with no GPS
If you integrate the acceleration twice you get position but the error is horrible. It is useless in practice.
Here is an explanation why (Google Tech Talk) at 23:20. I highly recommend this video.
I answered a similar question here and here.
Related Topics
How to Use Asynctask to Display a Progress Bar That Counts Down
Android Detect Usb Storage for Kitkat (4.4)
Can't Put Double Sharedpreferences
On Showing Dialog I Get "Can Not Perform This Action After Onsaveinstancestate"
Android Id Naming Convention: Lower Case with Underscore VS. Camel Case
Android Webview: Download Files Like Browsers Do
How to Call One Android Application from Another Android Application
How to Find the Android Version Name Programmatically
Android SQLite Selection Args[] with Int Values
Implement Double Click for Button in Android
Android - Firebase Quickstart Email/Password Auth Demo Doesn't Work
How to Launch an Activity Without a Ui