Mobility Data Recorder
class MobilityDataRecorder( val sensorManager: SensorManager, val locationProvider: FusedLocationProviderClient, val folderPath: String, val locationRequest: LocationRequest = defaultLocationRequest) : DataRecorder
Content copied to clipboard
An aggregate recorder that records multiple sensors and locations into CSV
This recorder records data on the following sensors:
Accelerometer
Gyroscope
Magnetometer
Barometer
Location/GPS
The class cannot be reused after it has been closed. Another instance must be created to restart recording.
Constructors
Link copied to clipboard
fun MobilityDataRecorder( sensorManager: SensorManager, locationProvider: FusedLocationProviderClient, folderPath: String, locationRequest: LocationRequest = defaultLocationRequest)
Content copied to clipboard