-
Notifications
You must be signed in to change notification settings - Fork 70
Add support for compass sensor #30
Comments
I agree this would be a nice value added. We could use the compass direction to enhance location updates from other providers as well as add an additional interface to retrieve the raw sensor data. |
After taking a closer look at the documentation for "Bearing is the horizontal direction of travel of this device, and is not related to the device orientation." https://developer.android.com/reference/android/location/Location.html#getBearing() So then the question becomes do we want to include an add-on API of sorts with convenience methods to access sensor data? Perhaps we will but this is outside the scope of v2.0 for which the primary goal is to improve coverage of methods currently available in play services. |
Closing due to inactivity |
I think a nice improvement over Google Play would be to add the ability to get compass sensor direction.
Currently this requires a lot of boilerplate code and filtering code to get a usable direction from the Android sensor APIs.
It would be great if LOST implemented this into an easy to use API integrated with the existing location updates with a flag during initialisation to enable it.
Also some good heuristics about when to use GPS derived direction or compass direction would be needed. Perhaps using current speed or some other factors.
The text was updated successfully, but these errors were encountered: