google-project-tango

Google Tango Unity Examples not working

爱⌒轻易说出口 提交于 2019-12-12 05:31:52
问题 I've tried the codelab and followed the video tutorial and and just can't make it work. In both cases the app loads, but (a) no motion tracking permission is requested and (b) the device motion does not control the camera. These labs are super simple and don't contain any code, so I am fairly confident I do not have an error. Unity v5.3.1f1 Personal Unity Tango SDK FurudUnity5 来源: https://stackoverflow.com/questions/35107426/google-tango-unity-examples-not-working

Local Area Description: Learning

不羁的心 提交于 2019-12-12 04:40:39
问题 I've just started learning something about Google Tango and i am having some troubles in understanding how to implement Local Area Description Learning. I have followed one of the How-to-guides from the documentation, the one with Placing Virtual Objects in AR and i wanted the app to remember the places where those kittens were placed. I will attach the Scene from Unity and a script where I've tried to enable SaveCurrent method for AreaDEscription. The scene from Unity and the following code

Unity 5.4.0f3 + Tango Project Tania Borealis 1.41 :Unable to start activity ComponentInfo com.google.unity.GoogleUnityActivity

筅森魡賤 提交于 2019-12-12 02:25:47
问题 When i'm trying to "build and run" in Unity 5.4.0f3 with SDK Tango Project Tania Borealis 1.41. Tango's example project at least the project loaded to device (Tango dev kit) it falls at the start moment. This problem represented at each Tango's Unity example from their github repo https://github.com/googlesamples/tango-examples-unity Does anybody solve this problem? adb logcat: W/NativeActivity(11902): ANativeActivity_onCreate not found D/AndroidRuntime(11902): Shutting down VM E

How to do occlusion with Google Tango in Unity?

佐手、 提交于 2019-12-12 01:52:22
问题 I am tring to do occlusion with Google Tango in Unity. What I want is pretty simple to understand: when there is a real object in front of a virtual object, the virtual object is hidden (or rendered differently) The perfect result would be like it is in this impressive video I found: https://www.youtube.com/watch?v=EpDhaM7ZhZs . I already tried the "Enable occlusion" option of the Tango Camera and I am not so happy with the results (it is not accurate and not real time as it is based on mesh

Project tango Never called the OnXYZijAvailable Callback

倾然丶 夕夏残阳落幕 提交于 2019-12-12 01:28:50
问题 My Project tango has some problems. 1st. The OnXYZijAvailable callback is never called. So sample code(point cloud) from github is not worked. (Point count always zero) 2nd. The back camera(RGB-IR) is seems always gray scale. How can I see color mode? I guess back camera is broken or something wrong. Right?? 回答1: Try the following: restart the device. Google tango core is still very unstable. make sure that the samples you're working with are aligned to the tango core version(check it on the

Size of data field in TangoImageBuffer

纵饮孤独 提交于 2019-12-12 00:12:16
问题 I am trying to do a memcpy of the TangoImageBuffer data field, which, if the image is YUV, according to me should be (buffer->width * buffer->height * 3 * sizeof(uint8_t)) (sizeof just for kicks, I know it is 1), but this makes it segfault. if I just copy height*width bytes it works, and also with height*width*2 , I do seem to be getting valid data, I just don't know which size should this field be. My (relevant) code: void onImageCallback(void *context, TangoCameraId id, const

How to place objects by swipe your finger across the screen?

巧了我就是萌 提交于 2019-12-11 17:11:47
问题 Using this tutorial we can place objects on the surface by finger tap. How can we change the script to place objects while swiping a finger across the screen, so that placing objects would be like "painting" area where they should be placed? Here is the script for placing from the tutorial: using UnityEngine; using System.Collections; public class KittyUIController : MonoBehaviour { public GameObject m_kitten; private TangoPointCloud m_pointCloud; void Start() { m_pointCloud =

TangoImageBuffer RAW/YUV failed to match frame

末鹿安然 提交于 2019-12-11 13:26:40
问题 I use the OnFrameAvailable callback to sync rgb with depth data. If I just render the rgb point cloud everything is fine. But if I do some image processing the camera throws the following exceptions: E/camera-metadata: /home/ubuntu/jobs/redwood_internal/RedwoodInternal/Redwood/common/player-engine/src/camera-metadata.cc:56 RAW failed to match frame or E/camera-metadata: /home/ubuntu/jobs/redwood_internal/RedwoodInternal/Redwood/common/player-engine/src/camera-metadata.cc:56 YUV failed to

java.lang.SecurityException: Tango Permission Denied. No ADF permission

こ雲淡風輕ζ 提交于 2019-12-11 09:36:23
问题 I've been trying to make sense out of ADF data by exporting it from the demo apps. However, when I try to perform the export it complains about no having ADF permissions. I'm calling the export routine right after REQUEST_TANGO_PERMISSION but I'm still unable to read the ADFs. I went to the online docs but I wasn't able to find the name of this permission request intent. Does anybody know how to request this? Since it is intent based I'm assuming it should be requested in the same way that

Post Processing effects with tango camera

烂漫一生 提交于 2019-12-11 05:56:34
问题 I would like to blur the camera image or add other effects to it while keeping my scene unaffected. I tried attaching a blur component to the tango camera but it ends up blurring everything including my 3d scene. Is there a way to stylize the video image without impacting my scene? I am using Unity. thanks. 回答1: There are two ways to do this: Render color camera's image to a RenderTexture, and perform post processing at the this pass, then render the scene in the different pass with normal