question

RajithaNakandala-8864 avatar image
0 Votes"
RajithaNakandala-8864 asked DucPham-3835 commented

How can i create a spatial anchor which links to a iot device ?

Hi i want to create a simple spatial anchor app which can display real time iot data. I would appreciate if you could guide me on how i can do it. A tutorial would be great. Is a iot hub registered device (raspberry pi) together with a spatial anchor resource group sufficient ?

azure-iot-hubazure-spatial-anchors
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @RajithaNakandala-8864

Community SME's on this topic or our team will review your scenario and circle back at the possible earliest time.

0 Votes 0 ·

1 Answer

DucPham-3835 avatar image
1 Vote"
DucPham-3835 answered DucPham-3835 commented

Hi @RajithaNakandala-8864, thank you for let us know your interest.

After an application already displays or renders real-time IOT data (content), Spatial Anchors can be used to attach the rendering to, in order to persist the content. The application can later locate the content in the same area when it queries for those Spatial Anchors that the content is attached to.
Please refer to the documentation page
https://docs.microsoft.com/en-us/azure/spatial-anchors/ for further information such as tutorials, samples and how to items.

Regarding the other question, do you mean if an IOT Hub device (Raspberry PI) is sufficient or appropriate to run an application that makes use of Spatial Anchors?

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi thank you for the response.

My question is how can i attach a iot hub device to a spatial anchor ? Is there a tutorial for it ? I am using a Raspberry pi

0 Votes 0 ·
DucPham-3835 avatar image DucPham-3835 RajithaNakandala-8864 ·

Hi RajithaNakandala-8864, could you please further help me to understand what it means as "attach a IoT hub device to a spatial anchor" ?

Consider that one can do the following:
1/ Create virtual content related to the IoT hub device, for example, a digital representation of the IoT hub device or real-time data from its connected IoT devices.
2/ Create a spatial anchor that matches to a point of interest such as the hub device's physical location (that is assumed as fixed/static).
3/ Associate the virtual content with the spatial anchor by storing id or meta data of the virtual content in the spatial anchor's property.

When user revisits the scene and the spatial anchor is later recalled, the virtual content can be displayed relative to the location of the device (for instance, overlaying the virtual content at the device's location).

Is this example similar to what you intend to do?

0 Votes 0 ·

Yes exactly that's what i want to do. For example lets say i have a mechanical room with a raspberry pi attached to a boiler measuring temperature and pressure I want to create a holographic menu associated with a spatial anchor lets say by Unity. I should be able to visualize the real time iot data. This anchor can be accessed by multiple devices (android/ios/holo lens).

0 Votes 0 ·
Show more comments