The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Can the world anchor scope be adjusted?
Hello,
I've played around a little with the world anchors on HoloLens and it works just fine. I can restart the app and the object is still where I've anchored it - as long as I didn't change the "outer environment". I have tried it in a car and anchored an object in the cockpit. This anchor will only be recognized if the car hasn't left the location where the anchor was positioned. If I park anywhere else then where I have placed the anchor, it doesn't get recognized even though the cockpit is still the same.
That's Why my question:
Can I somehow change the range or scope of this anchor, such that the "outer environment" isn't taken into account and only the cockpit will be considered?
Kind regards,
MrGT
Best Answer
-
Optionsstepan_stulov ✭✭✭
Hey, @MrGT
Unfortunately there is no such functionality. HoloLens is designed to work indoors with fairly static environments. Certain difference between object layouts and lighting conditions and moving people are tolerated/filtered but the concept is still just that: augmenting an indoor area. World anchors don't have much functionality in them for the developer. It's located or it's not. Black and white.
Since the environment in your case is not static anymore (at least not fully) you can try relying on other clues that are indeed static about your cockpit:
- Markers attached to the cockpit to track against
- Some heuristics like maybe averaging looking direction for a longer time and thus deriving the driver forward looking direction. This is what some fitness wristbands do.
- Or finally simply ask the user to take a certain pose for a few seconds to recalibrate your scenario (a simpler version of (2) without heuristics).
Hope this helps.
Building the future of holographic navigation. We're hiring.
5
Answers
Hey, @MrGT
Unfortunately there is no such functionality. HoloLens is designed to work indoors with fairly static environments. Certain difference between object layouts and lighting conditions and moving people are tolerated/filtered but the concept is still just that: augmenting an indoor area. World anchors don't have much functionality in them for the developer. It's located or it's not. Black and white.
Since the environment in your case is not static anymore (at least not fully) you can try relying on other clues that are indeed static about your cockpit:
Hope this helps.
Building the future of holographic navigation. We're hiring.
Thank you for your answer!
I had this solution (with markers) in mind, but wanted to really make sure, that there is no better one with world anchors. May be, thats an idea for future releases of the MixedRealityToolkit
Thanks!