--Update 2/17/2016-- Introduced LPF Introduced peak search Modulizaton of all scripts. Easily used for application programmer after import whole things as below: step = start_pedometer() step.get_pedometer_data() step.stop_pedometer()
--Update 2/8/2016-- Seperate the step_counter.r2py into pedometer.r2py, pre_calibration.r2py, step_detection.r2py, steplib.r2py and moving_average.r2py. Preparing for threading.
Finished work: Pedometer Future plan: Distance estimation
This project focus on indoor path tracking / localization based on sensibility_testbed. By analysis of the accelerometer data, it can determine device's different carry method(trouser pocket, coat porcket or hold in hand) and detecting walking step correctly by crossing zero method. Improving the accuracy for different devices by introducing pre-calibration stage, noise level thresholding and moving average filter.
![alt text](/matlab code and figure/trouser_pocket.jpg) The figure above shows the acceleration variation curve when put the phone in the trousers' right pocket. The higher peak is for right step, and lower peak is for left step. The acceleration is combined with right leg's and body's acceleration.
![alt text](/matlab code and figure/coat.jpg) Above figure shows the acceleratino when put the phone into coat pocket. The peaks are almost at a same level. The acceleration only based on body's acceleration.
![alt text](/matlab code and figure/hold.jpg) Above shows when holding the phone in front of the chest. There are some narrow and lower pulses following with the major pulses. Those narrow pulses came from the slight vibration of arm while walking.