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?
See the bottom of https://github.com/denzilferreira/aware-client/issues/30 for some info.
Currently, when assembling rows, there is this
rowData.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 aboutFIFO_SIZE
andmaxreportLatencyUs
.Not sure what the correct answer here is. Any ideas?