Skip to content

untoldgarden/unity-gps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unity-gps

Implementation of AR + GPS in Unity. This was done in a haste, is not optimized, and is not very cleanly done. GPS seem to be not very accurate, it might be due to issues in our implementation, to issues in AR + GPS, or to other issues.

Dependencies

How to use: Place GPSManager and AR + GPS WebMapLoader on a GameObject in Scene. Trigger GPSManager.InitFromXML at start with:

Since GPS isn't very accurate, and jumps around a lot depending on local circumstances, we use the average of the past n gps locations to determine the location we place our prefab on. GPS gets more accurate over time, so let it run for a while before getting the average.

You get the average of a location by calling GPSManager.GetFirstLocation with the name of the location (MeshID) which returns a Vector.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages