Forums > MaxMSP

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



hzd
May 08 2013 | 11:05 am

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.

May 09 2013 | 4:54 pm

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
May 09 2013 | 5:38 pm

Bugger!

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

thx

May 09 2013 | 7:33 pm

An app for that: http://www.bitshapesoftware.com/instruments/gyrosc/

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

May 09 2013 | 7:47 pm

Look in to https://openpaths.cc/

May 10 2013 | 12:25 am

gyrosc—nice!

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


hzd
May 11 2013 | 8:28 am

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.

May 11 2013 | 8:34 am

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

Kinect-tracking would be my suggestion.


hzd
May 14 2013 | 4:44 pm

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.

May 09 2016 | 2:45 pm

Any luck on getting it to work? Super interested!

May 09 2016 | 10:35 pm

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.

https://play.google.com/store/apps/details?id=com.hollyhook.midiHook

https://play.google.com/store/apps/details?id=com.hollyhook.oscHook

https://play.google.com/store/apps/details?id=com.Formalplay.GEOsc

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#

https://www.quora.com/What-is-the-most-cost-effective-solution-for-indoor-location-tracking

Best regards

Viewing 11 posts - 1 through 11 (of 11 total)

Forums > MaxMSP