论文部分内容阅读
目前Android智能机内置有很多传感器,其中重力加速度传感器比较普遍。重力加速度传感器一般情况下,会根据用户手持手机上的特征,上报量化的三维方向加速度值,基于这些不断上报的值,可以开发很多应用或者功能,增强了手机的用户体验。但是重力加速度传感器在不同地方或者环境,呈现的数据会存在偏差,给应用的精确控制带来了麻烦。本文基于某项目校准重力感应器需求的实现过程,简单介绍了Android手机传感器和开发传感器应用的知识,并重点详细总结了一种实现重力传感器校准方法和实现过程中遇到的问题。
Currently Android smartphone built a lot of sensors, including gravity acceleration sensor more common. Gravitational acceleration sensors generally report quantified three-dimensional directional acceleration values based on characteristics of the user’s hand-held handset. Based on these continuously reported values, many applications or functions can be developed to enhance the user experience of the handset. However, the gravitational acceleration sensor in different places or the environment, there will be deviation of the data, the precise control of the application brought the trouble. Based on the realization of the project of calibrating the demand of gravity sensor, this article briefly introduces the knowledge of Android mobile phone sensor and sensor application development, and summarizes the problems encountered in the implementation of gravity sensor calibration method and implementation.