MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.31k stars 21.49k forks source link

Please provide a breakdown explaination #87030

Closed darrendelorme closed 2 years ago

darrendelorme commented 2 years ago

I've been going through these demos for about 2 weeks now trying to retrace all the connections, references and get a basic idea of how to implement Azure Spatial Anchors. In my opinion it would be a lot better if all the methods weren't buried in Switch statements.

In total I've found 4 separate Azure Spatial Anchor Demos listed Below:

  1. https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/tutorials/mr-learning-sharing-05
  2. https://docs.microsoft.com/en-us/learn/modules/azure-spatial-anchors-tutorials/3-exercise-get-started-with-azure-spatial-anchors?tabs=openxr
  3. https://github.com/microsoft/OpenXR-Unity-MixedReality-Samples/tree/main/AzureSpatialAnchorsSample
  4. This.Project Fortunately this project is the only one I can get the anchors to relocate from the cloud but because of the complex implementation of the demo it's difficult to breakdown and reuse for my projects requirements.

In each demo I have had success with the sequence as follow: Start Session - Connecting to the spatial anchor service. Create an Anchor - Saves anchor to the cloud after making sure enough the space has been mapped. End Session - Close out connection to spatial anchor service.

Demo 1 issues: Share anchor id to network - It seems like the api service has gone stale. I had an error while uploading and I checked the url manually also trying to upload the text file with no success. Get from network - file was retrieved but no id was present

Demo 2 issues: On retrieval of anchor id console logs said it was successfully downloaded but gameobject did not go to the anchored position.

Demo 3 issues: No code for located an anchor.

This.Project: I can located the anchors in all for unity scenes but would prefer it was set up like demo 1 with UI buttons that call on each method. For the purposes of learning what each method does this would be very helpful. Especially since this demo makes use of a pre-canned api service.

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

SatishBoddu-MSFT commented 2 years ago

Hello @darrendelorme Thanks for taking time and providing detailed feedback!

Our SME will review the feedback and get back soon.

Varnauld commented 2 years ago

Hello @SatishBoddu-MSFT - we are tracking this task (work item 37971562) - Assigned to @pamistel

pamistel commented 2 years ago

Hi @darrendelorme

Thank you for your valuable feedback. We're working on making things simpler to get started!

In the meantime I'd like to ask you to try out the new HL2 Tutorial and let us know if this solves your main issues. This Tutorial is designed for developers to easily understand the mechanics of Azure Spatial Anchors and also being able to add ASA to your own custom app.

pamistel commented 2 years ago

@SatishBoddu-MSFT can you label this as more-info-required?

pamistel commented 2 years ago

We have cleared up the tutorials/samples hosted on Microsoft pages and updated the landing page to give a clear overview of all the articles available