## 基于智能手机三轴陀螺仪的轨迹跟踪

1)、采集传感器数据，设计计步算法，计算并显示了运动步伐；
2）、通过对运动量的分析，给出卡路里消耗的参考。

Title    Application design and implementation of gyroscope and accelerometer based on trajectory tracking
Abstract
With the development of Android growth, mobile app based on intelligent mobile phone is also emerging market. The accelerating pace of life, people are paying more and more attention to their health problems; a simple pedometer can help people have a clear grasp of the status of their movement. This topic is based on Android phones three-axis gyroscopes and acceleration two sensors in order to trajectories of smart phone local scope for tracking study, at the same time to develop a practical pedometer APP. This design through experiments of human body movement for data analysis, a science of algorithm design, and through the Android development platform to achieve code. Includes the following functions:

1)、Sensor data acquisition, and through the step algorithm, calculation and feedback movement pace；
2）、Through the analysis of the amount of exercise, calorie consumption given reference.
Keywords  Android Gyroscope Acceleration Trajectory tracking Pedometer

1  绪论    1
1.1  轨迹跟踪的概述    1
1.2  轨迹跟踪基本原理    6
1.3  课题研究的主要内容    8
1.4  本章小结    8
2  相关技术及开发工具软件介绍    9
2.1  Android平台介绍    9
2.2  传感器编程API    12
2.3  开发工具软件及开发语言    13
2.4  本章小结    13
3. 应用总体设计及关键代码    14
3.1 设计过程    14
3.2 计步算法及实现原理    15
3.3  模块设计及相关代码    17
3.4  本章小结    25
4、 运行测试    26

1  绪论
1.1  轨迹跟踪的概述
1.1.1  课题背景

然而，在低速运动下，计步不佳，主要是：在低速运动中，重力加速度几乎不变，加速度值也反应缓慢。这就引出来需要在一个低速运动下也能计步的检测算法。通过编程实现一个计步软件，运行在和我们生活息息相关的智能手机上，这样既避免了传统的硬件计步器外形庞大，不方便携带的弱点；同时也将计步精度拓展到计步算法上。这样也能物尽其用。 基于智能手机三轴陀螺仪的轨迹跟踪:http://www.lwfree.cn/jisuanjilunwen/20190221/30598.html
------分隔线----------------------------