Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcjones/phd-prototype
The Prototype I made as part of my PhD
https://github.com/mcjones/phd-prototype
Last synced: 23 days ago
JSON representation
The Prototype I made as part of my PhD
- Host: GitHub
- URL: https://github.com/mcjones/phd-prototype
- Owner: McJones
- License: mit
- Created: 2016-01-04T00:37:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-07T23:46:05.000Z (almost 9 years ago)
- Last Synced: 2023-08-16T23:16:01.557Z (over 1 year ago)
- Language: Objective-C
- Homepage:
- Size: 550 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PhD-Prototype
The Prototype I build REALLY quickly for my PhD.
The prototype works like a compass but instead of pointing north, it points to friends.
Technically it points to other people using the app, but eh that sounds dull.All three versions of the prototype are included, each one a different commit because why not? I was busy, don't judge.
##Details
Ok so it uses CoreLocation to get a current location, this location is then sent out over the PubNub stream to every other device running the prototype.When the app receives the location from the target it uses great circle mapping to determine the heading to point to that location, assuming the phone is facing north.
All the while it is using CoreLocation to determine the phones current heading, this is then subtracted from the target heading and viola, you've got a compass that points to friends.
##Huh?
**How do I build this?**It is an iOS project, you need Xcode to build it.
**What does it run on?**
It should run on any iOS 7 or above device.
**Tim, did you leave PubNub credentials in there?!**
Yep, for a temporary account I made and have since forgotten the password for.
**You used PubNub incorrectly**
Probably, I was still learning how to use it at the time