W3C home > Mailing lists > Public > public-device-apis@w3.org > May 2012

Re: [sensors] the near/far event names

From: Doug Turner <dougt@mozilla.com>
Date: Sun, 13 May 2012 13:53:37 -0700 (PDT)
To: Marcos Caceres <marcosscaceres@gmail.com>
Cc: public-device-apis@w3.org, BRYAN L SULLIVAN <bs3131@att.com>
Message-ID: <67151707.767173.1336942417454.JavaMail.root@mozilla.com>
Not all sensors are created equal.  They report at different resolutions, they report different ranges.  Because of this, you can't just hand back percentages.  It has to be clear that percentages will not tell you enough.  If I say my ambient light level is 42 %, what does that mean?  Does it mean that it is dark in my room?  To know this, you will need to know more about my senor.  You will need to know the min and max, and therefore the value to make any sense of that percentage number.

Hope this helps.

----- Original Message -----
From: "Marcos Caceres" <marcosscaceres@gmail.com>
To: "BRYAN L SULLIVAN" <bs3131@att.com>
Cc: public-device-apis@w3.org
Sent: Sunday, May 13, 2012 2:49:06 AM
Subject: Re: [sensors] the near/far event names

Hi Bryan, 

On Sunday, 13 May 2012 at 09:32, SULLIVAN, BRYAN L wrote:

> Similar to ambient sound and light, we need real/meaningful numbers for this API. 

What use cases do you foresee, or have in mind, for these numbers?  
Received on Sunday, 13 May 2012 20:54:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:37 UTC