I'm facing the following problem while developing to Tango and not sure whether I'm on the right track for solution or not.
What I'm trying to do(in short): serializing a point cloud(TangoPointCloudData object) and pose(TangoPoseData object) into a file for later use. Doing some magic processing behind the scene in order to calc some object's coordinates(x and y), Then - reconnect the tango and show a 3d object at x,y.
I'm initializing the Tango object by frame pair SOS and FD(frame device).
The exception occurs when I'm invoking this line with the latest TangoPointCloudData + TangoPoseData on the new Tango session:
TangoSupport.calculateRelativePose(
0.0,
TangoPoseData.COORDINATE_FRAME_CAMERA_COLOR, pointCloud.timestamp,
TangoPoseData.COORDINATE_FRAME_CAMERA_DEPTH);
The very non informative log I'm getting is:
com.google.atap.tangoservice.TangoErrorExceptioncom.google.atap.tangoservice.Tago.throwTangoExceptionIfNeeded(Tango.java:958)
com.projecttango.tangosupport.TangoSupport.calculateRelativePose(TangoSupport.java:231)
Thats all.
Tango core version I'm developing on is 1.44.2016.09.19-wasat-release.
My intuition is that the problem might occur because I didn't save the data correctly or it got ruined somewhere in the code, didn't init Tango correctly or trying to use an old xyzIj object on a new Tango session. I rechecked every thing(except the last which might be the problem(?)) and couldn't find something wrong so trying to address my thread to the great StackOverflow community.