README.md 1.82 KB
Newer Older
Loris Croce's avatar
Loris Croce committed
1
2
# Fork (WIP)

Loris's avatar
Loris committed
3
This is a fork, there's no plotting etc. but it's generetating [CBOR](http://cbor.io/) files instead of csv. There's also additional metadata like *username* and *position*.
Loris Croce's avatar
Loris Croce committed
4

Loris's avatar
Loris committed
5
6
The current version is logging all sensors that can be phone on the device.

Loris's avatar
Loris committed
7
8
9
10
# TODO

- [ ] file splitting following a max size.
- [ ] data sending.
Loris's avatar
Loris committed
11
- [ ] clean files.
Loris's avatar
Loris committed
12
- [ ] other stuff ?
Loris's avatar
Loris committed
13
# Original README
Loris's avatar
Loris committed
14
15

```markdown
Toni's avatar
Toni committed
16
# SensorRecorder
Toni's avatar
Toni committed
17
Simple Sensor Data Recorder for Smartphone and Watch using Android. The application was developed using Android Studio with minSdkVersion 14 and targetSdkVersion 28. However, Android 7 or higher is recommended.
Toni's avatar
Toni committed
18

Toni's avatar
Toni committed
19
# Download
Toni's avatar
Toni committed
20
21
- The apks can be found here https://github.com/Antidote00/SensorRecorder/releases 
- The app is also disributed in Google Play under: https://play.google.com/store/apps/details?id=de.tonifetzer.sensorrecorder
Toni's avatar
Toni committed
22

Toni's avatar
Toni committed
23
24
25
26
27
28
29
30
31
# Description
A very simple application which writes all sensor data into a .csv by pressing a button. Works with smartphone and smartwatch. Missing sensors are ignored. The .csv is structured as follows:

*Timestamp in milliseconds since start; Sensor ID; Values*

The file is named after the current System.currentTimeMillis () timestamp and is stored under 

*MainStorage/Android/Data/de.tonifetzer.sensorrecorder/files/documents/sensorOutFiles/...*

Toni's avatar
Toni committed
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
However, the path may differ from device to device, depending on whether an SD card is included or not. The Sensors have the following ID's:

    - ACCELEROMETER(0),
    - GRAVITY(1),
    - LINEAR_ACCELERATION(2),
    - GYROSCOPE(3),
    - MAGNETIC_FIELD(4),
    - PRESSURE(5),
    - ORIENTATION_NEW(6),
    - ROTATION_MATRIX(7),
    - WIFI(8), (not supported)
    - BEACON(9), (not supported)
    - RELATIVE_HUMIDITY(10),
    - ORIENTATION_OLD(11),
    - ROTATION_VECTOR(12),
    - LIGHT(13),
    - AMBIENT_TEMPERATURE(14),
    - HEART_RATE(15),
Loris's avatar
Loris committed
50
```