HOW TO MAKE CALLBACK CALLED EVEN ON BADFRAME?

Please execute the following code at an appropriate point such as initialization.

 

ICubeSDK_SetCamParameter( n, REG_CALLBACK_BR_FRAMES, ON ); //n is camera number

 

This is a setting to call the callback even when the last parameter ON is BadFrame.
If OFF, the callback will be called only when GoodFrame occurs.