I'd like to use the Focus Plus' cameras in an app that already includes full 6 DoF tracking.
However, I cannot get the camera stream to even start. When I trigger WVR_StartCamera, I get error return status. In the log I see these messages:
2020-01-13 17:30:40.275 14128-14128/com.nobody.cameratestapp D/CAMERATESTNATIVE: ====== STARTING CAMERA ======
2020-01-13 17:30:40.275 14128-14128/com.nobody.cameratestapp I/SVRI: StartCamera, (curTrackingMode, oldTrackingMode) = (3, 3)
2020-01-13 17:30:40.275 14128-14128/com.nobody.cameratestapp D/VRCORE: SvrVRCamera::StartCamera
2020-01-13 17:30:40.277 14128-14128/com.nobody.cameratestapp I/QVRDebug: QVRDebug: set log level to 7
2020-01-13 17:30:40.278 14128-14266/com.nobody.cameratestapp I/WVRFoveat: EnableFoveation: 0 1 >>>
2020-01-13 17:30:40.278 14128-14266/com.nobody.cameratestapp I/WVRFoveat: EnableFoveation: 0 1 1 <<<
2020-01-13 17:30:40.279 14128-14266/com.nobody.cameratestapp I/POSE: GetSyncPose pose_hmd_1 CV(s1f0) om0 6DoF 1vw_t0o0 XYZ -0.0142 0.0466 -0.0315 YPR -4.2970 16.3856 -0.7524 ; Wxyz 0.9890 0.1426 -0.0380 -0.0012 ; RAW XYZ 0.0142 -0.0466 0.0315 Wxyz 0.9890 -0.1426 0.0380 0.0012 ; LVel 0.004 0.003 0.006 LAc -0.00 -0.00 -0.00 AngV -0.030 0.019 -0.013 AngAc -0.00 -0.00 -0.00 ; TS26948419104386 4.77ms GetPoseState
2020-01-13 17:30:40.279 14128-14266/com.nobody.cameratestapp I/POSE: GetSyncPose pose_clr_3 CV(s1f0) om0 6DoF 1vw_t0o0 XYZ 0.2325 -0.4649 -0.1669 YPR -4.3538 -23.9804 2.7531 ; Wxyz 0.9770 -0.2084 -0.0421 0.0156 ; RAW XYZ 0.2325 -0.4649 -0.1669 Wxyz 0.9770 -0.2084 -0.0421 0.0156 ; LVel 0.004 0.006 -0.003 LAc 0.25 -0.14 0.42 AngV 0.048 -0.026 -0.027 AngAc 0.00 0.00 0.00 ; TS26948416845287 0.00ms GetPoseState
2020-01-13 17:30:40.280 14128-14128/com.nobody.cameratestapp E/QVRSocketUtil: int doSendReceivePacket(QVRSocket *, QVRSocketPkt_t *, QVRSocketPkt_t *, bool) (14128): error occurred
2020-01-13 17:30:40.280 14128-14128/com.nobody.cameratestapp E/QVRClientImpl: capability handshake failed
2020-01-13 17:30:40.280 14128-14128/com.nobody.cameratestapp E/QVRClientImpl: Capability Handshake failed!
2020-01-13 17:30:40.280 14128-14128/com.nobody.cameratestapp E/VRCORE: Qvr Device Helper is null
2020-01-13 17:30:40.280 14128-14128/com.nobody.cameratestapp E/CAMERATESTNATIVE: ====== FAILED TO START CAMERA ======
it looks like a failure in one of the underlying APIs.
As can be seen from the log, I am following the documented requirement of calling WVR_StartCamera from the main thread (pid & tid 14128 in this case).
Any ideas? Anyone ever had this API working? Am I right to assume that this can be called even though I'm using 6DoF tracking in the app already?