Bug 29993 - timestamps with data updates should be in milliseconds
Summary: timestamps with data updates should be in milliseconds
Status: RESOLVED WONTFIX
Alias: None
Product: GeoClue
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Geoclue Bugs
QA Contact: Geoclue Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 03:54 UTC by Stefan Kost
Modified: 2013-09-09 14:50 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Stefan Kost 2010-09-03 03:54:16 UTC
The timestamps that you get together with the  updated position/velocity/... e.g.
from geoclue-position-get-position() as unix times in seconds. For apps that request updates at a high rate, this will lead to inaccuracies when calculating e.g. speed.
Having milliseconds there would be nice (e.g. from clock_gettime).

This can't be fixed in the current API. As there are also other limitations in the current signaling, this could be addressed in a new signaling api that would e.g. provide aggregated information updates as a variable data structure (hash table).
Comment 1 Stefan Kost 2010-09-16 01:27:35 UTC
Now that I am thinking more about it, applications hsould probably be fine with seconds. Applications should not really need to calculate speed, but rather listen to velocity updates and get the speed from that.

WONTFIX?
Comment 2 Martti Virtanen 2010-09-16 07:02:30 UTC
True that velocity is not very good use case since most positioning solutions can provide better estimate using doppler etc.

There can be many other use cases; if you e.g. track your path it would be a shame to round your waypoints' timestamps to even seconds.
Comment 3 Ross Burton 2010-09-16 08:04:23 UTC
Do many GPSs support more than one position per second?  None of the ones I have can do that, unless it's a custom extension to increase the reporting rate.
Comment 4 Martti Virtanen 2010-09-27 06:37:01 UTC
It's not about how often you get updates, it's the exact moment of the fix. That is still good to know information.

Furthermore we may have other methods than GPS that we want use in future. So this probably comes bigger problem later on.
Comment 5 Bastien Nocera 2010-12-03 06:57:33 UTC
(In reply to comment #4)
> It's not about how often you get updates, it's the exact moment of the fix.
> That is still good to know information.

Why is knowing the exact moment of the fix such a problem?

> Furthermore we may have other methods than GPS that we want use in future. So
> this probably comes bigger problem later on.

What other methods?
Comment 6 Zeeshan Ali 2013-09-09 14:50:26 UTC
Closing all bugs on old geoclue. If your bug still applies to new geoclue, please do re-open, I really don't have time to go through each and every bug and evaluate separately. :( Apologies for any inconvenience caused by this change.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.