cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8312) Multiply accelerometer values by -g on Windows
Date Tue, 31 Mar 2015 17:58:56 GMT

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

ASF subversion and git services commented on CB-8312:
-----------------------------------------------------

Commit 49a436cd9a42fee0ace5046c90c482e19ad8be7b in cordova-plugin-device-motion's branch refs/heads/old-ID
from daserge
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device-motion.git;h=49a436c ]

CB-8312 Multiply accelerometer values by -g on Windows


> Multiply accelerometer values by -g on Windows
> ----------------------------------------------
>
>                 Key: CB-8312
>                 URL: https://issues.apache.org/jira/browse/CB-8312
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Device Motion, Windows
>            Reporter: Sergey Shakhnazarov
>
> Windows implementation of device-motion methods returns acceleration, measrued in g's
(source: https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.sensors.accelerometerreading.accelerationx).
To be consistent with current plugin's specs, it is necessary to multiply accelerometer result
by G constant (9.81 according to https://github.com/apache/cordova-plugin-device-motion/blob/master/doc/index.md#acceleration)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message