alephcero / OSCstats

Project to read cellphone sensors using OSC and get stats
GNU General Public License v3.0
1 stars 0 forks source link

SensorData code from OSC's android source code #1

Open vr00n opened 7 years ago

vr00n commented 7 years ago

@alephcero - check these 2 files out - they give a more precise indication of file contents

https://github.com/openstreetcam/android/blob/ec56e9108782fa3bb698c68a64faa5498e76bf88/app/src/main/java/com/telenav/osv/item/SensorData.java

https://github.com/openstreetcam/android/blob/ec56e9108782fa3bb698c68a64faa5498e76bf88/app/src/main/java/com/telenav/osv/manager/location/SensorManager.java

This is out the output seems ordered:

timestamp longitude latitude altitude location accuracy location speed rotation0 (yaw) rotation1 (pitch) rotation2 (roll) accelerometer0 accelerometer1 accelerometer2 pressure compass videoIndex0 index0 gravity0 gravity1 gravity2

H/T @christophertull

bogdans-telenav commented 7 years ago

@vr00n this is a old version i made a comment on the original question that you posted with the latest version of the metadata.

kalmanbencze commented 7 years ago

you might want to check this document out, it has the versions and the explanation of the elements in it. https://www.dropbox.com/s/x3kqmzhfqi6dxxu/metadata%201.png?dl=0 https://www.dropbox.com/s/rf0l7vubu7f3ofl/metadata%202.png?dl=0