Skip to content

Commit

Permalink
changed wait for frame from 30ms to 20ms
Browse files Browse the repository at this point in the history
  • Loading branch information
tyhenry committed Feb 11, 2017
1 parent 43a1827 commit 480e5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ofxRealSense.cpp
Expand Up @@ -126,7 +126,7 @@ bool ofxRealSense::update()

// get new frame
/* TO DO: threading a la ofxKinect */
status = mSenseMgr->AcquireFrame(true,30); // this is blocking for 10ms, returns error if not all frames ready (e.g. depth + color + scan)
status = mSenseMgr->AcquireFrame(true,20); // this is blocking for 20ms, returns error if not all frames ready (e.g. depth + color + scan)
if (status < PXC_STATUS_NO_ERROR)
{
ofLogWarning("ofxRealSense") << "unable to acquire new frame, error status: " << status;
Expand Down

0 comments on commit 480e5fc

Please sign in to comment.