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

Fix setting accuracy #43

Merged
merged 2 commits into from Mar 9, 2022
Merged

Conversation

Michal-Szczepaniak
Copy link
Contributor

So, for some reason, after m_currentLocation = location; accuracy becones NaN. I tried doing m_currentLocation.setAccuracy(location.accuracy()) but the accuracy was still NaN. I tried m_currentLocation.accuracy().setHorizontal(location.accuracy().horizontal()); but that was NaN as well. This solution thankfully works. If you want to debug it further and find real reason, feel free, I would just like to have working accuracy asap

hybrisprovider.cpp Outdated Show resolved Hide resolved
@rainemak rainemak merged commit 747fc6e into mer-hybris:master Mar 9, 2022
Copy link
Collaborator

@rainemak rainemak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@rainemak rainemak self-requested a review March 9, 2022 19:25
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

Successfully merging this pull request may close these issues.

None yet

2 participants