Online Decoding of Hidden Markov Models for Gait Event Detection Using Foot-Mounted Gyroscopes