Alexis_G Posted February 12, 2020 Share Posted February 12, 2020 Greetings, I don't know if you can help me to understand what is happening with those samples, the OpenCV windows are not showing any data coming from the cameras, they are just creating the Mat objects full of zeros. I also can see the pointers of both distorted_frame_*, but somehow is not "pulling" the data from that memory location. So far, I am able to get Pose, camera parameters and so on... To verify the hardware, I already built the Unity samples and its working fine. Thanks in advance. @Daniel_Y @Jad Link to comment Share on other sites More sharing options...
Alexis_G Posted February 12, 2020 Author Share Posted February 12, 2020 [Update] I've been exploring the content of the pointers using the main_CameraControl.cpp file (after the calling for Vive_SR_GetModuleData), so far, I just can retrieve values for poses, timestamps, sequences, but all related to camera values (lux, color temperature, etc) remains empty. @Daniel_Y @zzy @Andy.YC_Wang @Sean_Su Link to comment Share on other sites More sharing options...
Alexis_G Posted February 13, 2020 Author Share Posted February 13, 2020 [Update] I've been playing with the debugger a little bit yesterday at night and it shows that the GetModuleData method does not returns the data for the given pointers (data: '/0'). Please reply, using the Unity version really reduces my flexibility using the SDK resources. Thanks in advance. Link to comment Share on other sites More sharing options...
Daniel_Y Posted February 18, 2020 Share Posted February 18, 2020 What device you are using? Link to comment Share on other sites More sharing options...
Daniel_Y Posted February 18, 2020 Share Posted February 18, 2020 Could you provide the logs existing in this folder, $(drive)\Users\$(name)\AppData\LocalLow\HTC Corporation\SR_Logs Link to comment Share on other sites More sharing options...
Alexis_G Posted February 19, 2020 Author Share Posted February 19, 2020 Thanks for replaying, HTC VIVE PRO, here are the logs... Please be aware of the following references: - 2/19/2020 10:50 AM (Unity) ~1.5 min -> SUCCESSFUL TEST - 2/19/2020 10:53 AM (C SDK 9.0.3, Camera Control) ~1.5min -> FAILED TEST Hopefully these can give you a good hint to solve this problem. Thanks in advance!!! HTC_LOGS.zip Link to comment Share on other sites More sharing options...
wenjiec_shen Posted February 25, 2020 Share Posted February 25, 2020 Hi Alexis, I am sorry for omitting in sample code. It should add an instruction for copy data from GPU. You can resolve this problem by calling ViveSR_SetParameterBool( ID_PASSTHROUGH, ViveSR::PassThrough::Param::DISTORT_GPU_TO_CPU_ENABLE, true); after ViveSR_InitialModule(ID_PASSTHROUGH); We are going to fix this issue in next version. Thank you for reporting the issue. 2 Link to comment Share on other sites More sharing options...
ayumu_naga Posted March 6, 2020 Share Posted March 6, 2020 The solution mentioned above works nicely but contains typos, Correct is ViveSR_SetParameterBool( ID_SEETHROUGH, ViveSR::SeeThrough::Param::DISTORT_GPU_TO_CPU_ENABLE, true); after ViveSR_InitialModule(ID_SEETHROUGH); 2 Link to comment Share on other sites More sharing options...
Arto Posted May 15, 2020 Share Posted May 15, 2020 On 2/25/2020 at 8:20 AM, wenjiec_shen said: We are going to fix this issue in next version. The aforementioned workaround fixed this for me as well. @wenjiec_shen When are you guys planning to release the next version? It's been three months since you posted the workaround. For new customers--such as myself--this bug makes it seem that the SRWorks SDK is broken altogether (the example programs don't show any camera input at all). 1 Link to comment Share on other sites More sharing options...
Tony PH Lin Posted May 28, 2020 Share Posted May 28, 2020 @Arto, @ayumu_naga, @Alexis_G, The latest SRWorks 0.9.3.0 has been uploaded to website. Please check it out and let us know if you still have the issues on this topic, thanks. https://developer.vive.com/resources/2020/05/26/vive-srworks-sdk-updated-0-9-3-0/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now