You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Jesse MacFadyen (Commented) (JIRA)" <ji...@apache.org> on 2012/02/01 21:58:59 UTC

[jira] [Commented] (CB-152) Normalize Acceleration object x,y,z to return same range for all devices.

    [ https://issues.apache.org/jira/browse/CB-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198142#comment-13198142 ] 

Jesse MacFadyen commented on CB-152:
------------------------------------

The spec is measuring acceleration in g's. Where 9.81 is 1g, which is 9.81 m/s/s

                
> 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: Android, BlackBerry, iOS, WP7
>            Reporter: Bryce Curtis
>
> 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. 

--
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