Azure / azure-spatial-anchors-samples

Azure Spatial Anchors sample code
Other
293 stars 138 forks source link

Provide GPS coordinates manually? #375

Open jelmer3000 opened 1 year ago

jelmer3000 commented 1 year ago

In order to overcome the problem with the HoloLens 2 not having GPS, I would like to provide GPS coordinates myself when placing anchors.

How can I provide my own GPS coordinates in code (in Unity) when saving an anchor on HL2?

Varnauld commented 1 year ago

Thank you for submitting your question, tagging @XiangyuL-Microsoft (tracking n# 41794975)

XiangyuL-Microsoft commented 1 year ago

@jelmer3000

An external GPS device can be associated with HoloLens. Handle the UpdatedSensorFingerprintRequired event to submit GeoLocation readings if you are using HoloLens with an external GPS tracker.

Varnauld commented 1 year ago

Hello @jelmer3000 - were you able to resolve this issue? If so, ok to close or do you have any follow up questions or feedback for our teams? thank you!