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

Get users current location #57

Open
kerryconvery opened this issue Jul 29, 2016 · 1 comment
Open

Get users current location #57

kerryconvery opened this issue Jul 29, 2016 · 1 comment

Comments

@kerryconvery
Copy link

Hi Guys

In a new activity that I've added to the Anyplace App I'm wanting to know the users currently location within the indoor space, assume they are standing still. What class or classes do I need to get this information?

I've been looking through the UnifiedNavigationActivity but there is a lot going on so I'm hoping someone can just point me in the right direction.

I found a method called onNewLocation which seems to be what I need but I can't see where this is called from.

Basically a user will walk up to something and press a button on the app. On the button press I want to immediately start querying there current location and then use that position information to query a database. I may add continuous tracking later but for now pressing a button whenever they want to know what they are standing in front of will suffice.

Thanks

@constambeys
Copy link
Contributor

constambeys commented Jul 30, 2016

Hello kerryconvery

The main class responsible for indoor tracking is Anyplace Tracker in the tracker package. You will need this class and any classes that it depends on. The TrackerLogicPlusIMU extends Anyplace Tracker with additional functionality IMU and kalman filter.
Check how TrackerLogicPlusIMU is used in UnifiedNavigationActivity.

If you have other questions let us know

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