I'm having difficulties with my android app i have the following code from examples:
@Override
public void onXyzIjAvailable(final TangoXyzIjData xyzIj) {
// Update depth data
updateYSDepth(xyzIj);
}
And somehow it gives me this error
JNI ERROR (app bug): attempt to pass an instance of com.google.atap.tangoservice.TangoPointCloudData as argument 1 to void com.ologicinc.rostango.TangoNodes.vio.VioDepthNode$2.onXyzIjAvailable(com.google.atap.tangoservice.TangoXyzIjData) Anyone encountered this problem before?
Also someone suggested using the following:
void onPointCloudAvailableRouter(void* context, const TangoPointCloud* tangoPointCloud) {
}
I cant seem to find anything about the onPointCloudAvailableRouter online