incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-152) Normalize Acceleration object x,y,z to return same range for all devices.
Date Sat, 31 Mar 2012 23:44:25 GMT

     [ https://issues.apache.org/jira/browse/CB-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Filip Maj updated CB-152:
-------------------------

      Component/s:     (was: Docs)
                   webOS
                   Bada
      Description: 
Acceleration object should be consistent across platforms.  Documentation mentions range of
x,y,z to be 0-1, but Android returns ranges in -10 to +10.  This needs to be made consistent
so the same code works on all platforms. 

Let's work towards using the DeviceMotion specification: returning values in m/s^2. At rest,
with the screen pointing upwards, values should be x=0, y=0, z=9.81

Android and iOS are using values returned as m/s^2.

  was:
Acceleration object should be consistent across platforms.  Documentation mentions range of
x,y,z to be 0-1, but Android returns ranges in -10 to +10.  This needs to be made consistent
so the same code works on all platforms. 

Let's work towards using the DeviceMotion specification: returning values in m/s^2. At rest,
with the screen pointing upwards, values should be x=0, y=0, z=9.81

Android uses the above by default. iOS: I have a commit coming (merge into master tomorrow).

Documentation needs updates for this.

    Fix Version/s: 1.7.0

tagged all platforms that still need to return proper accelerometer values.
                
> Normalize Acceleration object x,y,z to return same range for all devices.
> -------------------------------------------------------------------------
>
>                 Key: CB-152
>                 URL: https://issues.apache.org/jira/browse/CB-152
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Bada, BlackBerry, webOS, WP7
>    Affects Versions: 1.5.0
>            Reporter: Bryce Curtis
>            Assignee: Filip Maj
>             Fix For: 1.6.0, 1.7.0
>
>
> Acceleration object should be consistent across platforms.  Documentation mentions range
of x,y,z to be 0-1, but Android returns ranges in -10 to +10.  This needs to be made consistent
so the same code works on all platforms. 
> Let's work towards using the DeviceMotion specification: returning values in m/s^2. At
rest, with the screen pointing upwards, values should be x=0, y=0, z=9.81
> Android and iOS are using values returned as m/s^2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message