googlearchive / tango-examples-java

Example projects for Project Tango [deprecated] Java API
https://developers.google.com/ar
503 stars 300 forks source link

Tango Support Library transformPointCloud Error #69

Open awbasham opened 8 years ago

awbasham commented 8 years ago

A few issues here, the API doesn't match the current library. The API says there is a doubleTransformPointCloud method that does not exist.

Also, when trying to use transformPointCloud with a double[] matrix and the current point cloud, I am receiving an error of: "JNI DETECTED ERROR IN APPLICATION: attempt to set field java.nio.FloatBuffer com.google.atap.tangoservice.TangoXyzIjData.xyz with value of wrong type: java.nio.DirectByteBuffer"

Thought it might have been my issue until I saw the same thing come up on StackOverflow: http://stackoverflow.com/questions/37836422/java-tangosupport-transforming-several-cloud-point-snapshots-to-the-same-space

gblikas commented 8 years ago

+1 Major bump; Same issue with the C API.