问题描述
探戈pose.status_code
在本地化后始终保持为VALID
,即使设备退出ADF.
Tango pose.status_code
always remains VALID
after localization even if the device steps out of the ADF.
我怎么知道设备是否已从ADF中移出?
How do I know if the device has moved out of the ADF?
我已经尝试过同时使用AreaLearningMode = enabled
和& Loading Existing ADF
和FramePair
的所有组合;但是在这两种情况下,即使我们走出ADF,pose.status_code
始终都是VALID
.
I have tried with both AreaLearningMode = enabled
& Loading Existing ADF
and all combinations of FramePair
; but in both cases pose.status_code
is always VALID
even if we step out of the ADF.
推荐答案
即使设备不在ADF区域内,也要使其ADF姿态状态为valid
.在引擎盖下,ADF姿势只是一个运动跟踪姿势,最重要的是ADF的变换校正.因此,即使它不在ADF中,只要运动跟踪工作正常,它仍然可以产生有效的姿势.
It's intended to have ADF pose status to be valid
even after device is out of ADF area. Under the hood, ADF pose is just a motion tracking pose with ADF's transformation correction on top of that. Thus even if it's out of the ADF, as long as motion tracking is working fine, it can still produce valid pose.
要检查设备是否在ADF之外,最简单的方法是收听ADF_T_StartOfService
帧.使用健康/结构良好的ADF,您应该能够看到此帧对不断产生回调.每个回调指示一个帧匹配".如果一段时间后没有帧匹配",可以肯定地说用户不在ADF中或该区域已弃用(视觉功能已更改)
To check if device is out of an ADF, the easiest way is to listen to ADF_T_StartOfService
frame. With a healthy/well-constructed ADF, you should be able to see this framepair constantly produce callbacks. Each callback indicates a "frame match". If there's no "frame match" after certain period of time, it's pretty safe to say that either user is out of an ADF or the area is deprecated (visual feature changed)
检查ADF边界的另一种方法是用记录的路径记录保存文件,Tango API没有像这样的内置功能.因此,必须从应用程序级别完成.
Other method to check ADF boundary is to save a file with the trajactory of recorded path, there's no built-in feature like this from Tango API. Thus it has to be done from the app level.
这篇关于即使设备退出区域描述文件,TangoPoseData'pose.status_code'始终保持有效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!