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

Eventually rename the SensorReading timeStamp attribute for consistency with DOM events. #101

Closed
tobie opened this issue Apr 28, 2016 · 3 comments
Assignees
Milestone

Comments

@tobie
Copy link
Member

tobie commented Apr 28, 2016

The DOM standard wants events to expose a DOMHighResTimestamp time stamp. It's up for debate right now whether it would be Web-compatible to modify the timeStamp attribute or whether a new attribute needs to be added to the spec instead.

For consistency, SensorReading timeStamp attribute, which is a DOMHighResTimestamp, will be renamed to whatever ends up being chosen for events.

@tobie tobie added this to the Level 1 milestone Apr 28, 2016
tobie added a commit that referenced this issue Apr 28, 2016
@timvolodine
Copy link

is having a timeStamp for reading really needed? I imagine this can be unnecessary for very hi-freq sensors. Maybe at least it should be nullable?

@tobie
Copy link
Member Author

tobie commented May 6, 2016

Yeah, timeStamps are the only means to compute both latency and frequency.

@tobie
Copy link
Member Author

tobie commented May 9, 2016

@timvolodine, I saw @riju opened a dedicated issue for exposing the timestamp in #105. Let's continue that specific conversation there.

anssiko added a commit that referenced this issue Aug 23, 2016
- Add 'Level' metadata
- Remove inline GH issues (#22, #101)
- Fix some <dfn>s and <a>s
- Remove WebIDL example syntax highlighting
@tobie tobie self-assigned this Oct 28, 2016
tobie added a commit to tobie/sensors that referenced this issue Jan 26, 2017
This fixes a number of pending issues listed below,
for which there was consensus, but editing was still pending.

This introduces a dependency on the infra standard [[INFRA]],
to define precisely the low-level data structures
used by slots and concepts.

This also specifies slots more clearly.

Additionally, this rewrite sprinkles inline issues
in areas of the specs which require more work.

* Handle GC issues by getting rid of the SensorReading interface. 
  Closes w3c#153. Closes w3c#101.
* Check sensor existence before requesting permission. Closes w3c#145.
* Remove side effects from constructors. Closes w3c#138.
* Move default sensor check to start() and add "unconnected" state.
  Closes w3c#128 and closes w3c#104.
* Throttle update frequency to 60Hz by relying on
  requestAnimationFrame. Closes w3c#100.
tobie added a commit that referenced this issue Jan 26, 2017
This fixes a number of pending issues listed below,
for which there was consensus, but editing was still pending.

This introduces a dependency on the infra standard [[INFRA]],
to define precisely the low-level data structures
used by slots and concepts.

This also specifies slots more clearly.

Additionally, this rewrite sprinkles inline issues
in areas of the specs which require more work.

* Handle GC issues by getting rid of the SensorReading interface. 
  Closes #153. Closes #101.
* Check sensor existence before requesting permission. Closes #145.
* Remove side effects from constructors. Closes #138.
* Move default sensor check to start() and add "unconnected" state.
  Closes #128 and closes #104.
* Throttle update frequency to 60Hz by relying on
  requestAnimationFrame. Closes #100.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants