Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current location orientation (compass) #389

Closed
nolispe280 opened this issue Nov 6, 2017 · 3 comments
Closed

Current location orientation (compass) #389

nolispe280 opened this issue Nov 6, 2017 · 3 comments

Comments

@nolispe280
Copy link

Hi,
I've been trying to use the currentLocation.course function to get a reading of my location's heading but it does not work properly: the course value changes all the time and really is not stable. Has anyone experienced that before?

@msmollin
Copy link
Member

Sorry I missed this.

We investigated this a little bit as part of this issue: #333 and came to similar conclusions that we would need to add some amount of filtering before we'd feel confident exposing it as an option in the SDK. That said its one of those tuneable items that I'm unsure we could fully "get right" for every single developer requirement. However, we currently don't set ANY heading filter our internal CLLocationManager instance, so something is likely better than nothing (see docs here for it https://developer.apple.com/documentation/corelocation/cllocationmanager/1620550-headingfilter).

We could set one just to help out in the mean time as part of the GPU fix I mentioned in the background location update issues. Maybe a simple 2 degree filter just to calm down the compass jerkiness a little. Thoughts? (cc @sarahlensing )

@msmollin
Copy link
Member

After some internal discussion, it would be premature to simply add a filter without enabling heading support fully inside the SDK. Going to write up a separate issue documenting it and get it prioritized.

@msmollin
Copy link
Member

Closing in favor of #391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants