digitraceslab / aware-client

AWARE Client source code
1 stars 0 forks source link

Improvements to high-frequency sensors #9

Closed rkdarst closed 6 years ago

rkdarst commented 8 years ago

See the bottom of https://github.com/denzilferreira/aware-client/issues/30 for some info.

Currently, when assembling rows, there is thisrowData.put(Accelerometer_Data.TIMESTAMP, System.currentTimeMillis());, which uses current time, not the sensor event timestamp. However it seems there isn't a single good solution to get the SensorEvent timestamp. This would seem to be a prerequisite to batching of sensor events (see the comments about FIFO_SIZE and maxreportLatencyUs.

Not sure what the correct answer here is. Any ideas?

rkdarst commented 8 years ago

It seems there is no good way to do this without working around timestamp issues somehow...