SpatialAnchor RawCoordinateSystemAdjusted event not occurring in Hololens 2

%3CLINGO-SUB%20id%3D%22lingo-sub-2166413%22%20slang%3D%22en-US%22%3ESpatialAnchor%20RawCoordinateSystemAdjusted%20event%20not%20occurring%20in%20Hololens%202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2166413%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20creating%20a%20spatial%20anchor%20whenever%20the%20user%20positions%20a%20hologram.%20As%20the%20user%20walks%20around%2C%20the%20hologram%20drifts%20a%20few%20millimeters%2C%20which%20is%20obvious%20to%20the%20user%20because%20real-world%20objects%20next%20to%20the%20hologram%20are%20no%20longer%20aligned%20with%20the%20hologram.%20If%20I%20understand%20correctly%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fapi%2FWindows.Perception.Spatial.SpatialAnchor%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E)%2C%20this%20is%20expected%20because%20spatial%20anchors%20are%20%22adjusted%22%20as%20hololens%20learns%20more%20about%20the%20environment.%20When%20such%20an%20adjustment%20occurs%2C%20the%26nbsp%3BRawCoordinateSystemAdjusted%20event%20is%20supposed%20to%20occur.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20event%20occurs%20quite%20often%20when%20running%20on%20hololens%201%2C%20but%20never%20occurs%20on%20hololens%202%2C%20running%20the%20same%20code%20in%20the%20same%20environment%20with%20the%20same%20holograms.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20hololens%202%20handle%20these%20adjustments%20differently%3F%26nbsp%3B%20I'm%20not%20finding%20any%20information%20on%20changes%20or%20problems%20with%26nbsp%3Bthe%26nbsp%3BRawCoordinateSystemAdjusted%20event.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

We are creating a spatial anchor whenever the user positions a hologram. As the user walks around, the hologram drifts a few millimeters, which is obvious to the user because real-world objects next to the hologram are no longer aligned with the hologram. If I understand correctly (documentation), this is expected because spatial anchors are "adjusted" as hololens learns more about the environment. When such an adjustment occurs, the RawCoordinateSystemAdjusted event is supposed to occur.

 

The event occurs quite often when running on hololens 1, but never occurs on hololens 2, running the same code in the same environment with the same holograms.

 

Does hololens 2 handle these adjustments differently?  I'm not finding any information on changes or problems with the RawCoordinateSystemAdjusted event.

0 Replies