FAQ Database Discussion Community


Accessing Color Frames with Unity and Tango 'Leibniz'

unity3d,google-project-tango
I'm just starting to tinker with Tango and Unity. Unfortunately there doesn't seem to be any documentation or examples on how to access color data in Unity with the latest release. I've been using the motion tracking example from GitHub (https://github.com/googlesamples/tango-examples-unity) as a starting point, trying to read incoming color...

Unity3D Crash When Leaving Tango Scene

unity3d,crash,google-project-tango
When leaving a scene that uses Motion Tracking, Area Learning, and WebcamTexture and moving to a menu scene that uses a standard Camera and no Tango prefabs, the application will crash. 02-25 13:32:46.285 886-1005/? W/InputDispatcher﹕ channel '6510e8f0 com.google.atap.app/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 02-25...

What is the Project Tango lens distortion model?

opencv,google-project-tango
The Project Tango C API documentation says that the TANGO_CALIBRATION_POLYNOMIAL_3_PARAMETERS lens distortion is modeled as: x_corr_px = x_px (1 + k1 * r2 + k2 * r4 + k3 * r6) y_corr_px = y_px (1 + k1 * r2 + k2 * r4 + k3 * r6) That is, the...

What does an Area Description File (ADF) looks like?

google-project-tango
I'm starting to work with the Google Tango Tablet, hopefully to create (basic) 2D / 3D maps from scanned areas. But first I would like to read as much about the Tango (sensors / API) as I can, in order to create a plan to be as time efficient as...

Binary writing from Android-Java reading wrong from UE4-C++

java,android,c++,read-write,google-project-tango
I am writing a binary reader that needs to read in a very specific set of binary written by an Android Tablet. I have run into several issues reading this binary, the first and foremost being that it does not resemble the data I wrote in the first place. I...

How do I begin working on the Project Tango?

android,android-ndk,google-project-tango
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...

How to understand R, and how it works with google's project tango

android,android-studio,r.java-file,google-project-tango
I am trying to get a tango project working with android studio and have reached a point of which I can't seem to get past, ad it is in great part to my lack of understanding of things dealing with android in general. Right now I am getting errors, the...

Project Tango Point Cloud strange crash, and dense depth map

android-ndk,google-project-tango
I am trying to use Project Tango C API, but the application crashed with no error if number of point cloud are more than ~6.5k (after some testing) with the following code int width = mImageSource->getDepthImageSize().x; int height = mImageSource->getDepthImageSize().y; double fx = mImageSource->calib.intrinsics_d.projectionParamsSimple.fx; double fy = mImageSource->calib.intrinsics_d.projectionParamsSimple.fy; double cx...

Color Image in the Google Tango Leibniz API

android,c,camera,yuv,google-project-tango
I am trying to capture the image data in the onFrameAvailable method from a Google Tango. I am using the Leibniz release. In the header file it is said that the buffer contains HAL_PIXEL_FORMAT_YV12 pixel data. In the release notes they say the buffer contains YUV420SP. But in the documentation...

Tango won't update to Nash

google-project-tango
I am currently using Project Tango in UK. I tried to use system update to upgrade to Nash release, but it shows "your system is up to date". I am sure the device is currently in Libnitz. Is Google blocking OTA out of USA?

what is difference between normal android device and tango device in terms of sensors?

android,project,google-project-tango
I wanted to ask the features that tango devices have and normal android device (SAMSUNG GT-19505) don't have. I am confused with the camera that tango have and normal android device like (SAMSUNG GT-19505) have.If i use SAMSUNG GT-19505 with tango API which capabilities of library will i be able...

Using Project Tango Unity example projects

android,unity3d,google-project-tango
I have tried to use the Project Tango unity examples found here; https://github.com/googlesamples/tango-examples-unity with no success. I have never used Unity before, and have successfully completed the Codelab: Motion Tracking example fromt he developer resources: https://developers.google.com/project-tango/apis/unity/unity-codelab-motion-tracking. I downloaded the example files mentioned at the top, open one of the projects...

Project Tango Camera Specifications

google-project-tango
I've been developing a virtual camera app for depth cameras and I'm extremely interested in the Tango project. I have several questions regarding the cameras on board. I can't seem to find these specs anywhere in the developer section or forums, so I understand completely if these cant be answered...

Save frame from TangoService_connectOnFrameAvailable

android-camera,yuv,image-formats,google-project-tango
How can I save a frame via TangoService_connectOnFrameAvailable() and display it correctly on my computer? As this reference page mentions, the pixels are stored in the HAL_PIXEL_FORMAT_YV12 format. In my callback function for TangoService_connectOnFrameAvailable, I save the frame like this: static void onColorFrameAvailable(void* context, TangoCameraId id, const TangoImageBuffer* buffer) {...

Dark Google Tango camera surface when using depth information

google-project-tango
Situation: I'm trying to write a Google Tango application in Java that allows the user to see the tango's camera feed with virtual objects on top (i.e. a video see-through augmented reality view) AND uses Tango depth/point cloud information. Problem: Whenever I try to enable the depth sensor on the...