Estimote / iOS-Indoor-SDK

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

You can only turn left #6

Closed joeblau closed 9 years ago

joeblau commented 9 years ago

I just tried to make this work with my apartment and when I went around my living room making right hand turns, the application could never map my room. When I tried reversing my path and making left hand turns, it figure out the room on it's first try. I'm not sure if I was doing something wrong or if it was the shape of my room, but some suggestion to users that maybe they should try walking the other way around the room would be very helpful.

joeblau commented 9 years ago

N/M, I didn't follow the instructions directions :+1:

wiktor commented 9 years ago

Out of curiosity. What was the problem?

On Sun, Dec 14, 2014 at 3:47 PM, Joe Blau notifications@github.com wrote:

I just tried to make this work with my apartment and when I went around my living room making right hand turns, the application could never map my room. When I tried reversing my path and making left hand turns, it figure out the room on it's first try. I'm not sure if I was doing something wrong or if it was the shape of my room, but some suggestion to users that maybe they should try walking the other way around the room would be very helpful.

Reply to this email directly or view it on GitHub: https://github.com/Estimote/iOS-Indoor-SDK/issues/6

joeblau commented 9 years ago

After about 20 attempts walking around my apartment, I realized that the way the algorithm calculates the room is by placing the phone in portrait mode parallel to the walls at every beacon to register the wall. I did not follow instructions since I never put my beacons on the wall. I just walked around the room in either direction holding the phone the way I was facing. This means that my phone was perpendicular to every wall. If you look at my immaculate blueprint of my room [1], the red lines, which are perpendicular to the walls are what I believe the algorithm was actually registering. With the red lines, there is no way to calculate a closed polygon, hence the šŸ“ that I kept seeing. When I started placing my phone parallel to the wall at each beacon, the calculation worked.

Hence the TLDR:

N/M, I didn't follow the instructions directions :+1:

[1] - Immaculate Blueprint wrongright

wiktor commented 9 years ago

Iā€™m very happy that everything turned ok.Ā 

Your feedback really rocks, thank you.

On Mon, Dec 15, 2014 at 3:37 PM, Joe Blau notifications@github.com wrote:

After about 20 attempts walking around my apartment, I realized that the way the algorithm calculates the room is by placing the phone in portrait mode parallel to the walls at every beacon to register the wall. I did not follow instructions since I never put my beacons on the wall. I just walked around the room in either direction holding the phone the way I was facing. This means that my phone was perpendicular to every wall. If you look at my immaculate blueprint of my room [1], the red lines, which are perpendicular to the walls are what I believe the algorithm was actually registering. With the red lines, there is no way to calculate a closed polygon, hence the šŸ“ that I kept seeing. When I started placing my phone parallel to the wall at each beacon, the calculation worked. Hence the TLDR:

N/M, I didn't follow the instructions directions :+1: [1] - Immaculate Blueprint

wrongright

Reply to this email directly or view it on GitHub: https://github.com/Estimote/iOS-Indoor-SDK/issues/6#issuecomment-67002411