This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Timestamping the data
#2
The time logged by phyphox (which is the time in your exported data and the one in the buffers you can request via JSON) is based on the time of the sensor event as given by the system (for example on Android: https://developer.android.com/reference/...ensorEvent). This is (nominally) given in nanoseconds uptime (since the system started), so in principle it is quite precise.

Phyphox uses the first sensor event it receives to set the beginning of the measurement to "zero", which is not really consistent across multiple sensors due to our poor implementation of this. I plan to improve this eventually, but this will mostly be done by making the system time of the start available to the user. The problem is that uptime is a very precise and reliable measure while system time can be very tricky as it can be adjusted at any time. Uptime is used to avoid "jumps" when the system adjusts the clock and for the same reason we cannot simply output our data with absolute time stamps, but will need to add a point of reference instead.
Reply


Messages In This Thread
Timestamping the data - by jbshute - 11-11-2018, 04:15 AM
RE: Timestamping the data - by Sebastian Staacks - 11-11-2018, 11:02 AM
RE: Timestamping the data - by sprigga - 05-17-2021, 10:44 AM
RE: Timestamping the data - by jbshute - 11-13-2018, 05:05 AM
RE: Timestamping the data - by Sebastian Staacks - 11-17-2018, 08:43 AM
RE: Timestamping the data - by jbshute - 11-17-2018, 06:17 PM
RE: Timestamping the data - by YvesD - 11-20-2019, 11:00 PM
RE: Timestamping the data - by Jens Noriʇzsɔɥ - 05-17-2021, 11:07 AM
RE: Timestamping the data - by praveen2600 - 06-18-2021, 08:08 AM
RE: Timestamping the data - by Jens Noriʇzsɔɥ - 06-18-2021, 03:47 PM
RE: Timestamping the data - by praveen2600 - 06-22-2021, 06:38 AM
RE: Timestamping the data - by Jens Noriʇzsɔɥ - 06-22-2021, 04:09 PM
RE: Timestamping the data - by praveen2600 - 07-07-2021, 07:48 AM
RE: Timestamping the data - by Jens Noriʇzsɔɥ - 07-07-2021, 11:18 AM
RE: Timestamping the data - by Rookie - 11-14-2021, 05:17 AM
RE: Timestamping the data - by Jens Noriʇzsɔɥ - 11-14-2021, 03:56 PM

Forum Jump: