Author: ShouLong Chen
School: WHU
E-Mail: 3079625093@qq.com
[TOC]
PDR is a passive location method. It can obtain the pedestrian step frequency and step size according to sensors such as accelerometers, and then estimate the relative position of travelers according to the orientation.
Based on the Android operating system, this project uses Java as the development language and Android studio as the development platform to realize the PDR algorithm.
The calculation of azimuth mainly depends on the accelerometer and magnetometer inside the mobile phone:
We use HMA algorithm for smoothing:
We use the EMA algorithm: