Part Number: OPT8241-CDK-EVM
Tool/software: TI C/C++ Compiler
Dear All:
We would like to stream TOF Cameras by register callback function. First we try to integrate grabber.cpp and grabber.h(in github.com/.../Qt)
to my main code. By setting frame rate to 30 fps and Camera profile then run Grabber1.start().
We found the frame rate is nearly 6 fps due to drop a frame in a slow forward pipeline. Why? How to do next step?
The program code is as follows.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
DepthCameraPtr depthCamera1 = sys1.connect(toConnect1);
Grabber Grabber1(depthCamera1, Grabber::FRAMEFLAG_RAW_PROCESSED, sys1, 1);
Grabber1.setFrameRate(30.0);
Grabber1.setProfile(_profile2_SR);
if (Grabber1.isInitialized() && !Grabber1.isRunning())
Grabber1.start();
while (1){ };
return 0;
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Best Regards,
Sheng Hua
6840.CameraSystemSaveStreamTest_3.cpp0654.grabber_sh.cpp3377.grabber_sh.h