Search the Community
Showing results for tags 'c++'.
Hi, I am unable to receive eye data at 120 Hz. On several Vive Pro Eye headsets I am getting very low data report rates using the C++ SRAnipal API. Using the C++ sample project included the SRanipal SDK (link), I print out gaze data once every 120 samples. The data reports at a rate much slower than 120 Hz: ~30Hz when executing ViveSR::anipal::Eye::GetEyeData in a loop ~60Hz when executing callback My SRanipal runtime and tobii platform information is attached. Vive software and drivers are up to date.
I try to get the pupil diameter data in Unreal/ C++ which is not included as a function in the SRanipal_FunctionLibrary_Eye. That's the reason why I tried to directly get the verboseData or EyeData through SRanipal_Eye eg. like this: int result = SRanipal_Eye::Instance()->GetEyeData_(&eye_data) For some reason I always get the compiler error "error LINK2019: unresolved external symbol". So far I could not work out my mistake so I would be very grateful for a short example/ code snippet on how to access the pupil diameter data in Unreal/ C++ with SRanipal (not Tobii!). Thanks in advance @MariosBikos_HTC
I found some problems in SRworks C++ SDK while I run the prebuild D:\unity\SRWorks_v0.9.3.0_Prebuilt_Samples-Unity\Build-Unity\Experience\Vive_SRworks_Demo, it works well and It can produce the augment reality. But when I run the D:\SRWorks_v0.9.3.0_Native_C\C-Sample\sample-vs2015\main.cpp in Visual Studio 2019. it just generate a GUI and shows nothing. (A black picture like the following) Enviroment: Windoes 10 Dual Camera are enabled Vive Pro Eye GPU: GEX1660 Ti (This Graphic card is enabled) Visualstudio 2019 Opencv 4.1.0 Then after run a while, I get this error I can't see anything related to augment reality when I wear the headset. There are also problems in main_CameraControl.cpp When I press 1, it can register the distorted image normally (I change some code and make it can do facedetection, It works well when run on the VS 2019 and the VR camera can do facedetection in my computer ), but When i wear headset and toggle the front camera, it just can show the real envirment and can't do any facedetection(, it seems that the code doesn't transplant into this headset.) When I press 3 (register the undistorted image), it doesn't work and just show a black image with nothing like this (figure in left). I don't know how to solve this problem.