google-project-tango

Getting Tango's camera stream data

試著忘記壹切 提交于 2019-12-23 03:32:35
问题 I'm trying to get the Tango's camera stream in order to combine an homemade AR Kit to Tango. I'm stuck at a point where everything works as intended in Tango's editor emulation, but not in the app pushed to the tablet. The code I'm using is the following: YUVTexture yuvTexture = m_tangoApplication.GetVideoOverlayTextureYUV(); Texture2D yTexture = yuvTexture.m_videoOverlayTextureY; // m_videoOverlayTextureCr is not used by Tango yet for some reason Texture2D uvTexture = yuvTexture.m

Accessing Color Frames with Unity and Tango 'Leibniz'

帅比萌擦擦* 提交于 2019-12-22 00:26:51
问题 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 frames the same way pose and depth data are read. I'm assuming the best way is to go through the "ITangoVideoOverlay" interface and

Error:Execution failed for task ':hello_motion_tracking:transformNative_libsWithStripDebugSymbolForDebug'. >

非 Y 不嫁゛ 提交于 2019-12-21 21:51:55
问题 When I tried to launch the project in the tango tutorial, a mistake pops out like this. Where should I look into to fix this problem? Info shown on Android: 回答1: As mentioned above, this indeed is a compatibility issue with Android Studio 2.2. A workaround is to set both targetSdkVersion and compileSdkVersion to 22. 回答2: This seems to be an incompatibility between the current version of the samples and android gradle plug-in version 2.2.1, which is the one that Android Studio kindly offers to

Unity Android Application “Unable to load native library” and “Failed to mkdirat” Project Tango

百般思念 提交于 2019-12-21 06:46:18
问题 I have been having issues with an application I am developing on Unity, so to make sure that it wasn't a problem with any of my work I started a new project and only installed the Tango plugin. After following the instructions to create a basic application and run it on my device the application still crashes on start up. Any help is appreciated! I/ActivityManager( 898): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.test.test cmp=com

projecting Tango 3D point to screen Google Project Tango

丶灬走出姿态 提交于 2019-12-20 06:31:29
问题 Ptoject Tango provides a point cloud, how can you get the position in pixels of a 3D point in the point cloud in meters? I tried using the projection matrix but I get very small values (0.5,1.3 etc) instead of say 1234,324 (in pixels). I include the code I have tried //Get the current rotation matrix Matrix4 projMatrix = mRenderer.getCurrentCamera().getProjectionMatrix(); //Get all the points in the pointcloud and store them as 3D points FloatBuffer pointsBuffer = mPointCloudManager

Cascade effect with 3D GameObjects (Tango, Unity, Android)

风格不统一 提交于 2019-12-19 08:30:12
问题 I'm getting started with Unity to build Tango apps for Android. I have previous Unity and Android experience but I'm new to Tango. I followed these guides: https://developers.google.com/tango/apis/unity (+ /unity-setup) It didn't work with the latest version of Unity so I eventually settled on 5.6.0. I started with the simple motion tracking and simple AR tutorials but I'm having a strange cascade effect with the 3D GameObjects on both the emulator and the phone. Cascade effect : I looked

Cascade effect with 3D GameObjects (Tango, Unity, Android)

流过昼夜 提交于 2019-12-19 08:29:07
问题 I'm getting started with Unity to build Tango apps for Android. I have previous Unity and Android experience but I'm new to Tango. I followed these guides: https://developers.google.com/tango/apis/unity (+ /unity-setup) It didn't work with the latest version of Unity so I eventually settled on 5.6.0. I started with the simple motion tracking and simple AR tutorials but I'm having a strange cascade effect with the 3D GameObjects on both the emulator and the phone. Cascade effect : I looked

Timing issues with Tango image frames

大兔子大兔子 提交于 2019-12-19 04:40:52
问题 It appears that Tango is dropping image frames when I try to get depth data, image data, and pose data at the same time. I am trying to capture depth and image frames and synchronize them with pose data. Using the C point-cloud-jni-example I added code to dump point cloud data to memory buffers and then to files. I added a callback for onFrameAvailable() and copied image data to buffers and then to files. Since the image data is at 30 Hz and the depth data is at ~5 Hz I naively expected the

How do I export Point Cloud Data (Project Tango)?

六眼飞鱼酱① 提交于 2019-12-17 10:55:12
问题 Just got a Project Tango Development Kit tablet and have worked through some of the demos and examples. Some older blog posts use the log files from a "Tango Mapper" application that should be preloaded on the device. Interactive Visualization of Google Project Tango Data with ParaView Ologic Announces integration between ROS and Project Tango Google Tango and ROS integration at Bosch Mapping Hints and Tips Unfortunately, the "Tango Mapper" application did not come preloaded on my device and

How to use drift correction

时光毁灭记忆、已成空白 提交于 2019-12-14 03:58:16
问题 I'm wondering how exactly one use drift correction? It seem to refuse to work with area learning (error message: "Drift-correction mode is incompatible with learning mode or ADF loading."), something the documents lead me to believe that it should. 回答1: Drift correction is only used for single session AR experiences. It handles the case when device lost tracking in AR and relocalize the device back to previously visited area. Currently, drift correction cannot be used for saving ADF (a.k.a