particle-iot / ElectronAssetTracker

Library for the Electron Asset Tracker!
Apache License 2.0
53 stars 84 forks source link

Add readHDOP and getAccuracy #16

Closed TechnoX closed 7 years ago

TechnoX commented 7 years ago

Added a solution to issue #15

Added two functions to get information about the current accuracy of the GPS. Needed for example to do a Kalman filter of the signal or any other signal processing.

The calculation of the accuracy is not done in any spectacular way, just a multiplication of the positional accuracy, but it should at least give a sense of what the accuracy is.