简体   繁体   English

合并项目探戈的区域描述文件

[英]Merging Area Description Files for Project Tango

May I append one ADF to another? 我可以将一个ADF附加到另一个吗?

According to the docs : 根据文档

Depending on your settings, you can learn a new area or append to an existing ADF. 根据您的设置,您可以学习新区域或附加到现有的ADF。

Similar to the way Tango is able to learn more about an area that has been localized, I would like Tango to learn more about an area that has been localized by appending an existing ADF that is related. 与Tango能够了解更多有关已本地化区域的方式类似,我希望Tango通过附加相关的现有ADF来了解有关已本地化区域的更多信息。 Tango would look for overlapping information that would relate the two files and translate the coordinates so the file being appended would use the coordinates of the main ADF. 探戈将查找与两个文件相关的重叠信息并转换坐标,因此要附加的文件将使用主ADF的坐标。

Because there are many reasons why an area may change in appearance, you might create multiple area description files for a single physical location under different conditions and select the correct one that will be most similar to the conditions the user will have during their session. 由于区域外观变化的原因有很多,因此您可以在不同条件下为单个物理位置创建多个区域描述文件,并选择与用户在会话期间所遇到的条件最相似的正确位置描述文件。 Alternatively, you could append multiple area learning sessions onto the same ADF to capture visual descriptions of the environment from every position and angle, under every variation of lighting or environmental change within one file. 或者,您可以将多个区域学习会话附加到同一ADF上,以在一个文件中的每种照明或环境变化下,从每个位置和角度捕获环境的视觉描述。

The scenario would allow smaller independent "learning" sessions that could contribute to an all encompassing ADF once an application realizes the two ADF are related. 该方案将允许较小的独立“学习”会话,一旦应用程序意识到两个ADF相关联,这些会话就可能有助于所有ADF。

Right now, The API doesn't provide any functions for merging two or more ADFs to one. 目前,API不提供任何用于将两个或多个ADF合并为一个的功能。 But you can append the new area's description to an existing ADF by Enable ADF : "Learning mode" and "Load ADF" mode 但是您可以通过启用ADF将新区域的描述附加到现有的ADF:“学习模式”和“加载ADF”模式

Check: https://developers.google.com/project-tango/overview/area-learning on "Using Learning Mode and loaded Area Description Files part" 检查: https : //developers.google.com/project-tango/overview/area-learning关于“使用学习模式和加载的区域描述文件部分”

The last one is the condition I mentioned. 最后一个是我提到的条件。 Also, in order to successfully append new area's description to an existing ADF, application must be localized to the existing ADF first. 同样,为了将新区域的描述成功添加到现有ADF,必须首先将应用程序本地化到现有ADF。 Then you can start learning the new area. 然后,您可以开始学习新领域。 In the end don't forget to save the new ADF, which is saved as the same uuid. 最后,不要忘了保存新的ADF,它被保存为相同的uuid。

Updated: On the recent release. 已更新:在最新版本中。 Append existing ADF will save as a new UUID. 附加现有的ADF将另存为新的UUID。 The new ADF area will cover your new area and the previous existing ADF. 新的ADF区域将覆盖您的新区域和以前的现有ADF。

您不在系统当前功能范围之内-可以创建新的ADF,也可以向现有的ADF添加其他信息,但是系统没有任何将较小的ADF合并为较大的主ADF的功能。并且没有足够的文档来危害黑客

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM