How can I find the velocity using accelerometers only?

前端 未结 8 1257
情书的邮戳
情书的邮戳 2020-12-08 12:01

Using only the phone\'s (Android) built in accelerometer, how would I go about finding its velocity?

I have been tinkering with the maths of this but whatever funct

8条回答
  •  天命终不由人
    2020-12-08 12:42

    The accelerometers in a phone are pretty much useless for such a task. You need highly accurate accelerometers with very low drift - something which is way beyond what you will find in a phone. At best you might get useful results for a few seconds, or if very lucky for a minute or two after which the results become meaningless.

    Also, you need to have a three axis gyroscope which you would use to integrate the velocity in the right direction. Some phones have gyros, but they are even poorer than the accelerometers as far as drift and accuracy are concerned.

    One possibly useful application though would be to use the accelerometers in conjunction with gyros or the magnetic compass to fill in for missing data from the GPS. Each time the GPS gives a good fix one would reset the initial conditions of position, speed and orientation and the accelerometers would provide the data until the next valid GPS fix.

提交回复
热议问题