Estimote / iOS-Indoor-SDK

Estimote Indoor SDK for iOS
MIT License
484 stars 136 forks source link

arKitPoint method return value #24

Open kasperekt opened 6 years ago

kasperekt commented 6 years ago

I think there is a problem with your arKitPoint(fromIndoorLocationPoint:) method in 3.0.0.alpha.1 version. Documentation says that it returns position in ARKit coordinate system, but when I print it using this method, and I haven't move, it says I'm e.g. at (3.470437, -6.539561) point. Shouldn't it show something near (0, 0) since ARKit origin will be in the place I'm right at that moment?

This is how my code snippet looks like:

func indoorLocationManager(_ manager: EILIndoorLocationManager,
                               didUpdatePosition position: EILOrientedPoint,
                               with positionAccuracy: EILPositionAccuracy,
                               in location: EILLocation) {
    print(manager.arKitPoint(fromIndoorLocationPoint: position))
}
icappsCedric commented 6 years ago

@kasperekt did you ever get any response on this? Or did you manage to find a solution?

kasperekt commented 6 years ago

@iCappsCedric no, I didn't. I stopped using beacons at all and found another solution for my problem.