Closed JaimeIvanCervantes closed 4 years ago
After I updated to 1.3.0
the NDK demo is still not working; I am not even seeing LocateAnchorStatus::NotLocated
anymore, there are still no error messages, and I still see wasRelocalized[0]
. I still see the anchor ID being found though:
ProcessPoseQueryStreamingPropertiesEvent - [4aa25fbe-4c26-41b0-b2e7-69b70543d981] was found. naid[72b2bd58-2d53-454f-b5c7-ee2f653a06e1]
And I also see a new debug message that I didn't see before update 1.3.0
:
OnArFrameAvailable - CalculateSpeeds failed; speed data should not be trusted.
This message appears very often (probably for every frame?) and it floods my logs.
Hi @JaimeIvanCervantes,
Are you still seeing this issue? If so, a few questions:
Thanks!
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
I am trying to use spatial anchors on my purely C++ Android project, but have not been able to localize anchors; I can confirm that the anchors are being uploaded to Azure, and the ID is being found when I query the anchors, but for some reason I keep seeing
LocateAnchorStatus::NotLocated
andwasRelocalized[0]
on the logs. I even usedCloudSpatialAnchorSessionDiagnostics
to save keyframes, and everything seems correct. I am also creating the anchors at identity every-time. Is there a recommended way to diagnose localization issues? I have been trying to debug this issue for a few days without success.As part of my pure C++ project, I am initializing Microsoft's
CloudServices
from C++, and I am also starting/destroying the session, creating anchors, and querying anchors on a OpenGL context created on the C++ side. Here's the simplified code (therender
method is called by a method similar to OpenGL'sonDrawFrame
):I am also not seeing any
session->Error([](auto&&, auto&& args)
errors, so everything seems to be working as expected, except that the anchors are never localized.Here are the logs for anchor creation:
And here are the logs for the anchor query: