为 Project Tango 合并区域描述文件

Merging Area Description Files for Project Tango

我可以将一个 ADF 附加到另一个吗?

根据 docs:

Depending on your settings, you can learn a new area or append to an existing ADF.

与 Tango 能够了解有关已本地化区域的更多信息的方式类似,我希望 Tango 通过附加相关的现有 ADF 来了解有关已本地化区域的更多信息。 Tango 将查找与两个文件相关的重叠信息并转换坐标,以便附加的文件将使用主 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.

该方案将允许较小的独立 "learning" 会话,一旦应用程序意识到两个 ADF 是相关的,这些会话就可以为一个包罗万象的 ADF 做出贡献。

您超出了系统当前的能力范围 - 您可以创建新的 ADF,也可以向现有的 ADF 添加附加信息,但系统没有任何合并较小 ADF 的功能进入更大的主 ADF 并且没有足够的文档来危害黑客

目前,API 不提供任何将两个或多个 ADF 合并为一个的功能。 但是您可以通过以下方式将新区域的描述附加到现有的 ADF 启用 ADF:"Learning mode" 和 "Load ADF" 模式

检查:https://developers.google.com/project-tango/overview/area-learning 在 "Using Learning Mode and loaded Area Description Files part"

最后一个就是我说的条件。 此外,为了成功地将新区域的描述附加到现有的 ADF, 应用程序必须首先本地化到现有的 ADF。然后你就可以开始学习新领域了。最后不要忘记保存新的ADF,保存为相同的uuid。

更新: 在最近的发布中。附加现有 ADF 将另存为新的 UUID。新的 ADF 区域将覆盖您的新区域和之前存在的 ADF。