How to access the boundary in Quest 2? - oculus

I'm developing a simulation in the Oculus/Meta Quest 2 and would like to access the boundary coordinates. In the past, there was a GetGeometry option but it appears to have been deprecated. Can anyone point me in the right direction here?

Related

AnyLogic bug pedestrians flying across the GIS map mid-journey

Final edit- This turned out to be a bug with routing regression in AnyLogic and is getting fixed in the next update.
I'm developing a town simulation with pedestrian agents moving around it. The GIS region data I use is loaded from a .osm file in foot-traffic mode, and I randomly spawn building agents around the region.
They walk around the city fine at first, but around halfway to their destination, they suddenly fly across the town at high speed in a straight line to where they're going. They seem to arrive at the GIS node closest to the building, and then walk the last couple of meters inside. I believe this occurs with every pedestrian I've tried.
I am using Dijkstra bidirectional path-finding (built-in to AnyLogic). I have tried A* bidirectional with the same results, as well as using a different .osm/.pbf file, and trying it on fast and short route mode with no luck.
I have a feeling it is a bug in the bidirectional pathfinding, however AnyLogic doesn't allow non-bidirectional routing, or a way of implementing your own for GIS regions...
Any ideas would be appreciated.
-edit-
I came back to this bug and have determined it is 100% a path-finding bug. When creating a GIS route between 2 points using the AnyLogic online server, it works as expected and we can see a completed route. However, when using a loaded offline OSM or PBF file (I tried different map sources), I observe that the route it draws goes correctly halfway but then draws a straight line to the node closest to the destination, then a straight line to the destination. I have attached 2 pictures to demonstrate this.
Note that it doesn't make it halfway in distance, it is halfway in node count.
We can see the nodes exist based on the pictures below, but the routing ignores the second half of them. I'm sure it's not a disconnected network, as I tested a lot and sometimes it would route over a section of road fine, but other times it would fail at it.
So I suppose now my question is: how do I prevent or get around this? I tried using a custom GraphHopper router to get around the bidirectional routing and just use regular A* search, but didn't have any luck as the other algorithms I tried just made straight lines.
This is what happens when making the first point at the bottom:
This is what happens when making the first point at the top:
This is with online routing:
as Benjamin already stated, this probably happens because you have multiple networks and routing acts in unpredictable ways sometimes when you have networks that are not defined as you would like.
Search on network on the projects section and be sure there is only 1 network..
For instance in the following image, you see that there are 2 networks... find a way to connect things in order to end up with 1 network...
This was just confirmed by AnyLogic to be a bug in the path-finding regression. It is being fixed in the next update.

Looking for IMU simulation software

If I am posting this in the wrong place, please let me know (I'll move the question there).
I am looking for a program that can generate 6 or 9 DoF IMU data along with its actual path.
I am working on implementing Kalman filter and require data. The requirement is that there is a camera C and object X. X and C both have IMU attached to it and both can move freely. The camera has a function that can extract the 3D position of X.
I need a simulator that can simulate this scenario.
Thank you.

HTML5 Geolocation: measures when not moving

I have a web app that allows users to create a cardio workout where they may or may not be actually moving. They could create a "run" either outside or on a treadmill. Either way, geolocation is automatically enabled for the workout.
But I only show the distance on the screen if they have moved at least .25 of a mile. I have tested this myself and the problem is that geolocation is telling me I'm moving even when I'm not!
This evening I was on the eliptical machine for 32 minutes and my app told me I had moved 1.15 miles.
If I test the app when actually moving, (e.g. in a car, on a bike, etc.) geolocation works fine. It's only when I'm NOT moving that I'm having problems.
Anyone else face this issue? Is there perhaps a hack to prevent it?
I'm using Chrome for Android as the browser.
Well I've come up with my own solution to this issue. I'm sure it's not perfect, but it seems to be working well. It is partially based on this excellent article...
Getting the best single location
For my web app, I used an array to capture 50 lat/lng's with an accuracy of less than 11 meters. After capturing the 50th coordinate, I grab the next lat/lng to be my current position. I am basically assuming that after checking 50 coordinates with accuracies better than 11 meters, I should have a pretty good idea where I am.
When checking coordinates on indoor WiFi (such as in a gym on a treadmill) the accuracies rarely get near 11 meters, and the array either does not fill up, or it takes a half hour or so to fill. Even so, by that point my position is pretty stable, and the app will not calculate distance when I'm not actually moving.
When outside using cell towers, the array will fill with 50 coordinates normally in less than 30 seconds. This means that I lose the first 30 seconds of the persons movement. But if you're walking or riding a bike, that really isn't missing much. In the end, my distance measurement may be off by .15 of a mile or such. I can live with that.
The biggest lesson I've learned is that "getCurrentPostion()" for HTML5 geolocation is basically worthless. The method simply forces lat/lng coordinates out of the phone, which are usually way off. In my code I call "updateLocation()" 50 times to collect the coordinates. In the end, this is much more accurate.
Take some time and read the article posed above. You'll learn a lot.

simulating a car on google maps that randomly decides where to turn (without destination)

I would be very happy if someone could help me on this. i am planing to write a script that simulates a moving car on google maps. simply a marker that is traveling across the roads. the point is that it has to move and turn randomly on the roads, i mean without a end destination. it should just need a starting point and decide on its own where it has to turn.
here for example it moves across the destination: http://econym.org.uk/gmap/example_cartrip.htm
what i need is to give it just one location and it starts to move and turn randomly and continuously.
is that possible. and how can i accomplish that. i would really appreciate if i could get a lead.
PS: at the same time i need to store each moves coordinated in to the database.

Google Direction Service: Estimating U turn at slightest deviation from route

I am using Google Direction Service for route drawing by providing it way points (recorded at some specific time interval). While drawing, it, sometimes (may be due to slight error in GPS measurement), it draws like the vehicle took a U turn to reach there. I guess it can be solved only if google ignores road dividers.
For example:
Look at the below picture, my vehicle moves on left road, but due to GPS accuracy issues, it sometimes gives me coordinates on right part of road. And when I give the coordinates to google to draw the the path, it gives me a U - Turn.
Can anybody please tell me how can I solve this issue?