Comments (8)
- What is ESTLocationBuilderSide? How can I implement correctly these values for my location?
In ESTLocationBuilder.h there's a comment saying it's: /** Side of the boundary segment as seen from inside of the location. */
I'm not sure about 2. but I think you get it right. Let's wait for Estimote's answer.
There is one more thing I see in your code:
[locationBuilder addBeaconIdentifiedByMac:kBeaconMac1
atBoundarySegmentIndex:0
inDistance:0
fromSide:ESTLocationBuilderLeftSide];
In your case, Beacon1 is in the middle of the wall, so the value of paramter inDistance
should equal 7.46/2= 3.73
meteres from whichever side (left or right), as it is centered ;)
from ios-indoor-sdk.
- How can I understand it? I've read all comments) My walls are boundary segments, I have 4 walls and location's shape is rectangular. Which of my boundary segments are on left side and which on right side? Or should I use nil for top and bottom (the wall in front of me and the wall besides me) and ESTLocationBuilderLeftSide for only left side and ESTLocationBuilderRightSide for right?
- Oh, you want to say I've entered wrong parameters?
* @param distance Distance from the beacon to the side of the boundary segment.
What is the boundary segment in that case? I thought it's wall in my loaction.
from ios-indoor-sdk.
Imagine you are standing in the middle of the room.
You take a look at the first wall (boundarySegmentIndex:0), the one with Beacon1 on it. You measure the distance between the beacon and right or left end of the wall. You put the result in [locationBuilder addBeaconIdentifiedByMac:MAC1 atBoundarySegmentIndex:0 inDistance:<YOUR DISTANCE HERE> fromSide:<LEFT OR RIGHT HERE>;]
repectively.
Then you turn and repeat the process for the remaining walls(changing boundarySegementIndex accordingly)
Does that make sense?
from ios-indoor-sdk.
Ok, I understand what you mean.
distance between the beacon and right or left end of the wall
In my case for 1st wall it will be:
[locationBuilder addBeaconIdentifiedByMac:kBeaconMac1
atBoundarySegmentIndex:0
inDistance:3.73
fromSide:ESTLocationBuilderLeftSide];
So, I shouldn't repeat the same for right side?
from ios-indoor-sdk.
So, I shouldn't repeat the same for right side?
Nope, you measure once per beacon. If you measured the distance to the left side, there is no need to measure distance to the right(as the SDK can compute it). You just move on to the next beacon/wall.
from ios-indoor-sdk.
@mzygar thanks for explaining :-) Maybe someone could help me with 2nd question.
from ios-indoor-sdk.
For the 2nd question: align yourself along the [0,1] vector. Looking at your floor plan, that'd be "facing the top". Then open the compass app, read the number it shows, punch it into the setLocationOrientation:
method. Let us know if this solves your problem (:
Really appreciate you coming here with your issue, it tells us know our documentation still needs some work. Thank you!
BTW, in the future, consider posting on our forums instead: forums.estimote.com
from ios-indoor-sdk.
Thanks, it works )
from ios-indoor-sdk.
Related Issues (20)
- Can not run HOT 1
- Import error HOT 6
- Import ESTConfig.h & Import EILIndoorLocationManager.h not working HOT 2
- Estimote Fetch Location Issues in Objective C HOT 1
- XCode Compile Errors HOT 1
- Bug on your Estimote Indoor Location app HOT 1
- Using ARKit location together with custom ARSCNView HOT 3
- arKitPoint method return value HOT 2
- No way to change ELILocation object orientation without rebuilding
- EILRequestFetchPublicLocations NSInvalidArgumentException
- Estimote + Arkit
- Issues with Indoor Location App HOT 3
- Sticker beacon locations are incorrect in Indoor App HOT 1
- Sticker beacon locations are incorrect in Indoor Location App
- SSZipArchive Conflict
- Impossible to use EILPoint
- Direction to particular location
- AppStore App Rejected due ARKit used in the framework but not used HOT 3
- Clean install of the example app on iOS 13 fails to update position HOT 2
- My sad experience with Estimote Location UWB Beacon.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-indoor-sdk.