问题描述
也许我合一ADF追加到另一个?
May I append one ADF to another?
根据文档:
根据您的设置,你可以学习一个新的领域,或添加到现有ADF。
的方式探戈能够更多地了解已经本地化的区域类似,我想探戈更多地了解已经本地化通过追加现有的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 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捕捉从各个位置和角度对环境的视觉描述,照明或环境变化的每一个变化之下。
该方案将允许可能有助于一个包罗万象的ADF一旦应用规模较小的独立学会实现两个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.
推荐答案
目前,该API不合并两个或两个以上的ADF一个提供任何功能。
但是你可以通过追加新领域的描述到现有的ADF
启用ADF:学习模式和加载ADF模式
Right now, The API doesn't provide any functions for merging two or more ADFs to one.But you can append the new area's description to an existing ADF by Enable ADF : "Learning mode" and "Load ADF" mode
检查:
使用学习模式和装载区域说明文件部分
Check: https://developers.google.com/project-tango/overview/area-learningon "Using Learning Mode and loaded Area Description Files part"
最后一个就是我刚才提到的条件。
另外,为了成功地追加新的区域的描述,以现有的ADF中,
应用程序必须首先定位于现有的自动进稿器。然后你就可以开始学习新的领域。在最后不要忘了保存新的自动进稿器,它被保存为相同的UUID。
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. 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。新的ADF区域将覆盖新的区域和previous现有的自动进稿器。
Updated:On the recent release. Append existing ADF will save as a new UUID. The new ADF area will cover your new area and the previous existing ADF.
这篇关于合并区域描述文件Tango项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!