简体   繁体   English

如何使用Google的探戈示例为Unity运行AR示例

[英]How to get the AR example running for Unity using Google's tango example

So I am starting out to do some projects in Tango using Unity. 所以我开始使用Unity在Tango做一些项目。 I cloned the examples from their github ( https://github.com/googlesamples/tango-examples-unity ) and tried running their Experimental Augmented Reality example. 我从他们的github克隆了这些例子( https://github.com/googlesamples/tango-examples-unity )并尝试运行他们的实验增强现实示例。 So I figured out how to attach the scripts to their respective game modules. 所以我想出了如何将脚本附加到各自的游戏模块。

However, everytime I try to run the program, in the ARScreen.cs script this line m_textures = m_tangoApplication.GetVideoOverlayTextureYUV(); 但是,每次我尝试运行程序时,在ARScreen.cs脚本中这一行m_textures = m_tangoApplication.GetVideoOverlayTextureYUV(); always returns null. 始终返回null。 So I combed through google's documentation to see what causes it to return null but I could not find anything on it. 所以我梳理了谷歌的文档,看看是什么原因导致它返回null,但我找不到任何东西。 Is there anyone that successfully ran the Experimental Augmented Reality example that can shed some light on this? 是否有人成功运行了实验性增强现实示例,可以对此有所了解?

I just verified that my Experimental Augmented Reality example works fine. 我刚刚验证了我的实验增强现实示例工作正常。

It looks like project tango has made a new release called "release-weyl" on sept 15th. 项目探戈似乎在9月15日发布了一个名为“release-weyl”的新版本。 I'm not sure if there is a mandatory firmware update for this new release. 我不确定这个新版本是否有强制性固件更新。

I'm using previous version release-vonmises. 我正在使用以前的版本发布 - vonmises。 Just try this release. 试试这个版本。 It might just work. 它可能只是工作。

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

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