Iphone Indoor GPS System.

IndoorGPS

Ich habe auf der Arbeit ein Indoor GPS System via Estimote Beacons programmiert.Das System läuft auf dem Iphone und IPad ab iOS 7.0. Das System funktioniert mit 3 Beacons und einem Iphone dass, durch die Beacons, die ihre aktuelle Entfernung zum Iphone Broadcasten, die Aktuelle Postion des Iphones in einem Raum errechenen.
Das Problemw was ich habe ist das die Bluetooth- Beacons zu schwach sind.

Logik

Man hat 3 beacons (Estimote) die jeweils 2 Wärte haben, einmal X Coordinate  und Y Coordinate (0,0) (320,0) (160,480) Die Beacons geben einem die aktuelle Distanz vom Beacon zum hand(2,5m etc.)
Mit diesen Werten rechnet die App sie dann mit Triliteration.

Calculating

Beacon: AP1( 5,5 )
AP2( 8,5 ) AP3( 6.5,2.5 )
r1 = 2 r2 = 2 r3 = 2
Lösung: x0 = (1/delta) * (2*A*(y1-y3)-2*B*(y1-y2)) y0 = (1/delta) * (2*B*(x1-x2)-2*A*(x1-x3))
delta = 4*((x1-x2)(y1-y3)-(x1-x3)(y1-y2)) A = r2²-r1²-x2²+x1²-y2²+y1² B = r3²-r1²-x3²+x1²-y3²+y1²
Result: x = 10 y = 5
My image

Download-Link:

Github Link (Repository Working)
Previous
Next Post »
0 Komentar