none
Turning On time for IR emitter RRS feed

  • Question

  • Hi!

    My compagny just aquired a new Kinect sensor for Windows. I'm doing a program in c#. In this program, I want to turn on the IR emitter. I found the method ForceInfraredEmitterOff. It works very well.

    In my bench test, i noticed the time for turning on the emitter is between 80 and 130 ms. The turning off time is less than 5 ms. Is it possible to accelerate the turning on time? Maybe another method or changing a setting on the microsoft.kinect class.

    Here an exemple of my code:

    Stopwatch timer = new Stopwatch();
    
    timer.Restart();
    TheKinectSensor.InfraredOff = false;
    SaveNextBuffer = true;
    timer.Stop();
    Console.WriteLine("time:"+ timer.ElapsedMilliseconds);
    
    // generally, the Elaspsed time I have is :
    // 80 < timer.ElapsedMilliseconds < 150

    Thank you for helping me,

    Maxime


    • Edited by Maxime.jo Wednesday, May 8, 2013 2:38 AM
    Wednesday, May 8, 2013 2:38 AM

Answers

  • Unfortunately, no, there are no shortcuts that will reduce the startup time for the infrared emitter.


    John | Kinect for Windows development team

    • Marked as answer by Maxime.jo Thursday, May 9, 2013 4:28 PM
    Wednesday, May 8, 2013 7:58 PM

All replies

  • Unfortunately, no, there are no shortcuts that will reduce the startup time for the infrared emitter.


    John | Kinect for Windows development team

    • Marked as answer by Maxime.jo Thursday, May 9, 2013 4:28 PM
    Wednesday, May 8, 2013 7:58 PM
  • Well, thank you. This is not the awnser i was willing to have, but I think i will have to deal with it.
    Thursday, May 9, 2013 4:29 PM