- Google Tango API系列(一)之API Overvi
- Google Tango API系列(二)之APIango Ja
- Google Tango API系列(三)API Tango J
- Google Tango API系列之Java API Area
- Google Tango API系列(五)之Frames of
- Google Tango API 系列之Area Learnin
- Google Tango API之TangoConfig
- Google Tango API之TangoPointCloud
- Google Tango API之OnTangoUpdateLi
- Google Tango API之TangoCameraIntr
源网址:https://developers.google.com/tango/apis/overview
API Overview
This is the current Tango application development stack:
这是当前的Tango应用程序开发堆栈:
TangoService is an Android service running on a standalone process. It uses standard Android Interprocess Communication to support apps written in Java, Unity, and C. TangoService performs all of the main Tango technologies, such as motion tracking, area learning, and depth perception. Applications can connect to TangoService through our APIs.
TangoService是一个在独立进程上运行的Android服务。它使用标准的Android进程间通信来支持用Java,Unity和C编写的应用程序。TangoService执行所有主要的Tango技术,例如运动跟踪,区域学习和深度感知。应用程序可以通过我们的API连接到TangoService。
Which API should I use?
The Unity SDK is great for making games and other programs requiring 3D visualization if you don't already have an existing or preferred rendering engine. We provide scripts, components, prefabs, and demo programs in our Unity packages.
For working directly with Android in Java, or other Java applications, we have a Java API, interfacing with TangoService through the AIDL (Android Interface Definition Language). A Tango helper library provides methods and classes that work very similarly to standard Android APIs, but with added functionality to get information from the extra sensors and cameras on the Tango device. Developers who are already familiar with Android Java development should be able to easily adjust to the Tango Java API.
Developers who want to be able to write apps with the Android NDK (Native Development Kit) should use the C API, which enables more flexibility on the native level. If you have your own visualization engine to display Tango's 3D capabilities, or you are developing something that doesn't require visualization but does require more system-level capabilities, you can use the C APIs directly.
Unity SDK非常适合制作需要3D可视化的游戏和其他程序,如果您还没有现有或首选的渲染引擎。我们在Unity包中提供脚本,组件,预制和演示程序。
对于在Java或其他Java应用程序中直接使用Android,我们有一个Java API,通过AIDL(Android接口定义语言)与TangoService连接。 Tango帮助程序库提供的方法和类与标准Android API非常相似,但增加了从Tango设备上的额外传感器和摄像头获取信息的功能。已经熟悉Android Java开发的开发人员应该能够轻松地适应Tango Java API。
想要使用Android NDK(Native Development Kit)编写应用程序的开发人员应该使用C API,这样可以在本机级别上提供更多的灵活性。如果您有自己的可视化引擎来显示Tango的3D功能,或者您正在开发不需要可视化但需要更多系统级功能的东西,则可以直接使用C API。
网友评论