Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

Only ~62 samples per second


Recommended Posts

Hello,

I am using the callback from C++ and I'm only getting 62 samples per second. This seems weird to me. From time to time I also get "Initialisation failed" from the eye calibration.

I am using the SRanipal_Sample to initialise the Eye engine.

my callback:

auto prev = std::chrono::steady_clock::now();
void callback(ViveSR::anipal::Eye::EyeData const& eye_data) {
    auto now = std::chrono::steady_clock::now();
    auto diff = now - prev;
    printf("[Sample timedelta] %.5f [timestamp] %d \n", (diff.count()/1000000000.0f), eye_data.timestamp);
    prev = now;
}

banila2

 

image.png.ded7c494c79a3a5d822b786749a9d7ba.png

@Corvus @Daniel_Y

Link to comment
Share on other sites

  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...