ES Libraries Documentation

Online documentation:
Home
What Sensor Data?
Collecting Sensor Data
Formatting Sensor Data
Store/Transfer Data
Research
Contributing
Project Github Page

Gyroscope

The gyroscope is a motion sensor that measures the rotation of the device.

This sensor does not currently require any specific permission. The JSON format for a sample from this sensor is:

{
	"userid":"user-id",
	"deviceid":"device-id",
	"senseStartTime":"13:58:59:311 30 06 2015 +0100 GMT+01:00",
	"senseStartTimeMillis":1435669139311,
	"dataType":"Gyroscope",
	"xAxis":[0.036041051149368286,-0.20861047506332397,... ],
	"yAxis":[0.10506882518529892,0.10506882518529892,... ],
	"zAxis":[0.058337632566690445,-1.147204875946045,...],
	"sensorTimeStamps":[1435669139331,1435669139521,... ],
	"sampleLengthMillis":8000
}