Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding timestamps to sensor events #26078

Closed
Tracked by #80
DrPaulT opened this issue Jan 4, 2019 · 3 comments · May be fixed by fluttercommunity/plus_plugins#2506
Closed
Tracked by #80

Consider adding timestamps to sensor events #26078

DrPaulT opened this issue Jan 4, 2019 · 3 comments · May be fixed by fluttercommunity/plus_plugins#2506
Labels
c: new feature Nothing broken; request for a new capability p: sensors Plugin to read from sensors P3 Issues that are less important to the Flutter project package flutter/packages repository. See also p: labels.

Comments

@DrPaulT
Copy link

DrPaulT commented Jan 4, 2019

The sensor plugin sends an (x, y, z) vector for the linear accelerometer, for example, but there is no timestamp to say exactly when the event was sampled.

As I understand it, the stream returned by accelerometerEvents.listen() may be buffered in some situations, so it is not possible to use the time of day when the event is delivered. Or at least there may be appreciable latency when doing so.

If adding a millisecond timestamp could be considered when sensors are next updated, that would be great---the application is sports performance monitoring so precision concerning when accelerations are sampled is essential for correct interpretation of the motion.

Thanks

@zoechi zoechi added c: new feature Nothing broken; request for a new capability plugin labels Jan 4, 2019
@zoechi zoechi added this to the Goals milestone Jan 4, 2019
@zoechi zoechi added the p: sensors Plugin to read from sensors label Jan 8, 2019
@Hixie Hixie modified the milestones: Goals, Stretch Goals Jan 10, 2020
@kf6gpe kf6gpe added the P3 Issues that are less important to the Flutter project label May 29, 2020
@Hixie Hixie removed this from the - milestone Aug 17, 2020
@dannyalbuquerque
Copy link

dannyalbuquerque commented Jan 15, 2021

i added timestamp in events https://github.com/dannyalbuquerque/plugins/tree/master/packages/sensors

@stuartmorgan stuartmorgan added P6 and removed P3 Issues that are less important to the Flutter project labels Feb 4, 2021
@stuartmorgan
Copy link
Contributor

Closing as sensors is deprecated in favor of sensors_plus.

@github-actions
Copy link

github-actions bot commented Aug 1, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2021
@flutter-triage-bot flutter-triage-bot bot added P3 Issues that are less important to the Flutter project and removed P6 labels Jun 28, 2023
@flutter-triage-bot flutter-triage-bot bot added the package flutter/packages repository. See also p: labels. label Jul 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: new feature Nothing broken; request for a new capability p: sensors Plugin to read from sensors P3 Issues that are less important to the Flutter project package flutter/packages repository. See also p: labels.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants