3

次のシナリオで加速度値を測定するにはどうすればよいですか。携帯電話を車に持ち込んでいて、携帯電話がポケットなどのどこかにあり、完全に向きが合っていない可能性があります。私の質問は、車の直線加速度と角加速度を測定する方法です。

4

1 に答える 1

1

You will get no angular acceleration witout gyroscopes ( not every phone is equiped with them ) For lienear acceleration you are invited to use:

https://github.com/ko5tik/accmeter

And here is complete example:

https://github.com/ko5tik/accanalyser

In case you do not have gyroscopes, you may try to get angular acceleration out of vector direction changes and magnetic sensor - but precision will be suboptimal.

于 2012-10-17T07:55:44.370 に答える