A Wearable Inertial Sensor Approach for Locomotion and Localization Recognition on Physical Activity | Synapse