Jump to content

ViveSR C API ViveSR_GetMultiDataSize() not working


Hanno

Recommended Posts

Ok I've added a one second delay (just to be sure) in my application but I still get the same issue.

 

I've added the code snippet you suggested in the sample and the same thing happens - both windows stay black.

 

This line keeps printing 0 for all values:

fprintf(stderr, "FrameSeq : %ud, TimeStp : %ud, pose %f, %f\n", FrameSeq, TimeStp, sr_pose_l[12], sr_pose_r[12]);

 

I'm checking the return value of ViveSR_GetMultiData() as well.

It seems it returns SR_Error:: DATA_NOT_FOUND the first time and from there it continuously returns  SR_Error:: MEMORY_NOT_ENOUGH.

 

I'm not sure what memory I could be running out of here? There's plenty of RAM and GPU memory available.

 

 

Link to comment
Share on other sites

Kevin has corresponded with me via private messages since this last post and my problems are now resolved.  I'm not sure what the problem was, but it must have been on my side (configuration or otherwise).  ViveSR_GetMultiData() was returning an incorrect size value and now it's working as expected.

 

Both the sample application and my application is now working. Thanks for everyone's inputs and suggestions.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...