diff options
author | Théo de la Hogue | 2022-03-15 00:07:45 +0100 |
---|---|---|
committer | Théo de la Hogue | 2022-03-15 00:07:45 +0100 |
commit | c9b7802caa83daccc96efa99f68de039bb748bf2 (patch) | |
tree | bd27f61e9838d832046946f932a5d92f78d3bc9c /src | |
parent | 02bad7fd7532c0b3a1224bd98c05982263403bdc (diff) | |
download | argaze-c9b7802caa83daccc96efa99f68de039bb748bf2.zip argaze-c9b7802caa83daccc96efa99f68de039bb748bf2.tar.gz argaze-c9b7802caa83daccc96efa99f68de039bb748bf2.tar.bz2 argaze-c9b7802caa83daccc96efa99f68de039bb748bf2.tar.xz |
Using javascript keyword to prettify a json block
Diffstat (limited to 'src')
-rw-r--r-- | src/argaze/TobiiGlassesPro2/README.md | 138 |
1 files changed, 69 insertions, 69 deletions
diff --git a/src/argaze/TobiiGlassesPro2/README.md b/src/argaze/TobiiGlassesPro2/README.md index 7f1c3cc..295a24d 100644 --- a/src/argaze/TobiiGlassesPro2/README.md +++ b/src/argaze/TobiiGlassesPro2/README.md @@ -27,86 +27,86 @@ It is based on [TobiiGlassesPyController package](https://github.com/ddetommaso/ ## Tobii data structure Each data frame have the following structure: -```json - { - 'mems': { - 'ac': { - 'ts': 1042711827, - 's': 0, - 'ac': [0.549, -9.868, 2.203] - }, - 'gy': { - 'ts': 1042723807, - 's': 0, - 'gy': [2.94, -2.384, 1.428] - } - }, - 'right_eye': { - 'pc': { - 'ts': 1042743553, - 's': 0, 'gidx': 39971, - 'pc': [-35.24, -25.51, -31.66], - 'eye': 'right' - }, - 'pd': { - 'ts': 1042743553, - 's': 0, - 'gidx': 39971, - 'pd': 3.72, - 'eye': 'right' - }, - 'gd': { - 'ts': 1042743553, - 's': 0, - 'gidx': 39971, - 'gd': [0.1833, 0.307, 0.9339], - 'eye': 'right' - } +```javascript +{ + 'mems': { + 'ac': { + 'ts': 1042711827, + 's': 0, + 'ac': [0.549, -9.868, 2.203] }, - 'left_eye': { - 'pc': { - 'ts': 1042743553, - 's': 0, - 'gidx': 39971, - 'pc': [29.96, -27.92, -40.9], - 'eye': 'left' - }, - 'pd': { - 'ts': 1042743553, - 's': 0, - 'gidx': 39971, - 'pd': 4.42, - 'eye': 'left' - }, - 'gd': { - 'ts': 1042743553, - 's': 0, - 'gidx': 39971, - 'gd': [0.1528, 0.2977, 0.9423], - 'eye': 'left' - } - }, - 'gp': { + 'gy': { + 'ts': 1042723807, + 's': 0, + 'gy': [2.94, -2.384, 1.428] + } + }, + 'right_eye': { + 'pc': { + 'ts': 1042743553, + 's': 0, 'gidx': 39971, + 'pc': [-35.24, -25.51, -31.66], + 'eye': 'right' + }, + 'pd': { 'ts': 1042743553, 's': 0, 'gidx': 39971, - 'l': 82832, - 'gp': [0.3975, 0.2228] + 'pd': 3.72, + 'eye': 'right' }, - 'gp3': { + 'gd': { + 'ts': 1042743553, + 's': 0, + 'gidx': 39971, + 'gd': [0.1833, 0.307, 0.9339], + 'eye': 'right' + } + }, + 'left_eye': { + 'pc': { 'ts': 1042743553, 's': 0, 'gidx': 39971, - 'gp3': [313.64, 542.2, 1728.85] + 'pc': [29.96, -27.92, -40.9], + 'eye': 'left' }, - 'pts': { - 'ts': 1042123917, + 'pd': { + 'ts': 1042743553, 's': 0, - 'pts': 93695, - 'pv': 7 + 'gidx': 39971, + 'pd': 4.42, + 'eye': 'left' }, - 'vts': { - 'ts': -1 + 'gd': { + 'ts': 1042743553, + 's': 0, + 'gidx': 39971, + 'gd': [0.1528, 0.2977, 0.9423], + 'eye': 'left' } + }, + 'gp': { + 'ts': 1042743553, + 's': 0, + 'gidx': 39971, + 'l': 82832, + 'gp': [0.3975, 0.2228] + }, + 'gp3': { + 'ts': 1042743553, + 's': 0, + 'gidx': 39971, + 'gp3': [313.64, 542.2, 1728.85] + }, + 'pts': { + 'ts': 1042123917, + 's': 0, + 'pts': 93695, + 'pv': 7 + }, + 'vts': { + 'ts': -1 } +} ```
\ No newline at end of file |