Getting GPS info from iPhone (or other smartphone) into MAX as X/Y coordinates

hzd's icon

Hi there.

I'm interested, in using the GPS coordinations of a device as a realtime modifier of parameters in a MAX patch.
Is there a tried way of doing this?

I've searched and I always running into javascript and such, which is not whit in my reach at present.

seejayjames's icon

I think you'd need "an app for that" to get the GPS onto the wireless network, then get it in Max using udpreceive. The two platforms would need unique apps I'm sure. There may be one out there...? Anything that sends GPS from a device to a computer should be hackable for your purposes...somehow.

hzd's icon

Bugger!

I was hoping to avoid that.
Well, I'll look into that.

thx

Medd's icon

Should really plug it in this situation, as the developer added the GPS after I requested it!

John's icon
seejayjames's icon

gyrosc---nice!

You should be up and running in no time with [udpreceive] and that app.

hzd's icon

GyrOSC is nice and elegant, but the gps isn't accurate enough for my needs. I need it to be accurate within 10 cm or so.
I'm thinking that gps is not the way to go.
I might need three proximity sensors og direction sensors to triangulate the position. Anyone know about this? :)

thx so far.

Wetterberg's icon

yeah, gps is never that accurate - something something guided missiles.

Kinect-tracking would be my suggestion.

hzd's icon

Kinect you say. I have no idea what that is. I'll try googling.

just to be clear, what I'm looking for, is to pinpoint an individual in a 6 x 10 meter room. actually the preference is to be able to pinpoint a smartphone and it ip in this room, as I'll be using the smartphone for interacting with the installation.

but kinect might work.

Fridtjof Wesseltoft's icon

Any luck on getting it to work? Super interested!

truthc's icon

Hi,

I've also been curious about this topic too. Here is some of what I've previously found on the topic. I'd like to know what others here have learned about this too.

What I did was to search the app store for sensor + MIDI or OSC. If you are looking for GPS then you can search for GPS sensor + MIDI or OSC. I suggest either MIDI or OSC because you can send those to Max.

For example, when I had an idea to try something which wasn't available I contacted the developer who kindly added some features to OSCHook and then proceeded to create MIDIHook. So if you are using Android then I recommend those because you are allowed to set parameters. MIDIHook is the most recent.

GPS is not very accurate. I just searched Google for "GPS accuracy meters" it shows this result: "The United States government currently claims 4 meter RMS (7.8 meter 95% Confidence Interval) horizontal accuracy for civilian (SPS) GPS. " Besides that, the perceived GPS position may appear to be wandering around.

Other methods involving location I've seen involve Bluetooth beacons or even triangulation by WIFI signals. Related searches that show up are LBS (location based services) and indoor positioning, some of which I've found when searching for"bluetooth location mapping". Though, from what I've read, Bluetooth positioning requires an unobstructed signal path. I'm not sure about WIFI but people's bodies, being mostly water, do interfere with the signal.

For example, there is the Estimote Indoor Location SDK but it appears to require Estimote beacons.
http://developer.estimote.com/indoor/

Then there is something which has been developed by Cisco, Hyper Location, as described here
http://www.connexient.com/product/indoor-positioning

Here is are some questions and replies about these subjects from people on Quora
https://www.quora.com/Location-Based-Services-LBS-Who-are-the-major-players-in-indoor-tracking-and-retail-analytics#

Best regards

Jacelyn Laurent's icon

GPS is definitely capable of centimeter level accuracy. Drones use RTK modules and Ground Control Points to get accuracy down to less than 3cm.