Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8312

Multiply accelerometer values by -g on Windows

    XMLWordPrintableJSON

Details

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            daserge Sergey Shakhnazarov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: