如何开始工作的Tango项目? [英] How do I begin working on the Project Tango?

查看:307
本文介绍了如何开始工作的Tango项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

后的几个星期我一直无法获取Android的工具集,用C ++之前,并已获得使用项目探戈的机会,一个正常运作的水平,虽然这听起来真棒,奇妙的,并会打开一个世界与VR工作的机会......我觉得我被困在步骤-4。我的理解是有限的,所以大家多多包涵。
我偶然发现了建于对点云数据运行算法的PCL,它是开源的,似乎像一个奇妙的解决方案,它是用C ++,我有两个C ++和Java的温和的理解。 我已经使用Eclipse和NDK尝试,实际上得到了一个项目的部署到探戈,但在试图编辑在项目中,Java或C ++,它打破了也永远不会部署任何文件了。
现在,我想使用Android工作室,并在以下5冲突的教程后,如何让C ++ / NDK在android的工作室工作我还没有得到一个工作环境。 因此,这里是我的问题,我们可以开始在步骤之一,任何帮助是AP preciated。怎样才能获得C ++和PCL工作在谷歌项目探戈,是有一个人我的技术水平更好的办法?最终的结果是与项目探戈映射的三维空间,有管理的规模出口的数据集。我已经看到它在YouTube上做了演示,但迄今为止,就像我说的,我是卡上的步骤-4。

after a couple of weeks I have been unable to get the android set of tools to a functioning level with c++ before and have been given the opportunity of using a project tango, and though that sounds awesome and wondrous and would open a world of opportunity for working with VR... I feel like I am stuck at step -4. My understanding is limited, so bear with me.
I stumbled upon the PCL built for running algorithms on point cloud data, it was open source and appeared like a wonderful solution, it is written in C++ and I have a mild understanding of both c++ and java. I have tried using Eclipse and the NDK and actually managed to get a project 'deployed' to the tango, however upon attempting to edit any file in the project, java or c++, it breaks and will never deploy again.
Now I am trying to use Android Studio, and after following about 5 conflicting tutorials on 'how to get C++/ndk working in android studio' I have yet to get a working environment. So here is my question, and we can start at step one, any help is appreciated. How does one get c++ and the PCL working on a google project tango, is there a better way for someone of my skill level? The end result is a mapped 3d space with the project tango, with exportable data sets of manageable size. I have seen it done in demos on youtube, but thus far, like i said, I am stuck on step -4.

推荐答案

我们正在努力将基于所有的项目到Android的工作室,现在,这里是逛一圈,让你开始:

we are working on converting all project to android studio based, for now, here is the walk around to get you started:

  1. 打开Android工作室,从刚刚克隆回购导入项目。

  1. Open Android Studio, import the project from the repo you just cloned.

取运动跟踪,JNI-例子为例,复制探戈-GL渲染,探戈服务SDK和第三方到运动跟踪,JNI,例如/ APP / src目录。

Take the motion-tracking-jni-example as the example, copy tango-gl-render, tango-service-sdk, and third-party into the motion-tracking-jni-example/app/src.

运行NDK建造在运动跟踪,JNI,例如/ APP / src目录/主文件夹。

Run ndk-build in the motion-tracking-jni-example/app/src/main folder.

NDK将产生libs文件夹,重命名为jniLibs。

ndk will generate the libs folder, rename it to jniLibs.

转到Android的工作室,在build.gradle(模块:应用程序)。文件中添加一行sourceSets.main.jni.srcDirs = []'到defaultConfig节

Go to Android Studio, in build.gradle(Module:app) file, add line 'sourceSets.main.jni.srcDirs = []' to the defaultConfig section.

只需点击机器人工作室的运行按钮。

Just click the run button in Android Studio.

我们在这里所做的基本上是关闭了Android标准输入输出的JNI编译和手工建造它使用NDK。

What we did here is basically disabled the Android Stdio's JNI compile and manually built it using ndk.

这篇关于如何开始工作的Tango项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆