You need to put the phone into your pants pocket. Unfortunately, the phone must remain unlocked
Accelerometer
Gyroscope
Magnetometer
Absolute orientation
Relative orientation
User Guide
This web application measures data from five sensors: accelerometer, gyroscope, magnetometer, absolute orientation, and relative orientation.
If a sensor is available, its card will appear green. If a sensor is unavailable, its card will appear red.
To enable the magnetometer in Google Chrome, enter chrome://flags/ in the address bar and enable #enable-generic-sensor-extra-classes.
For best results, use Google Chrome. Safari is not supported.
Before measuring, select an activity and optionally enter a device identifier (useful for filtering measurements if the user doesn’t remember the measuring time).
After clicking Start measuring, a 10-second countdown will begin. During this time, place the device in your pants pocket and ensure it remains unlocked.
Once the countdown ends, measurements will begin at a frequency of 50 Hz.