No Color Frames since Updating to Jacobi Release 1.8

痴心易碎 提交于 2020-01-06 18:07:10

问题


Since I have updated to the Jacobi C API (Release 1.8 and later) I do not receive any color frames anymore, i.e., more specifically, I successfully register a callback function __onFrameAvailable(), using

if( TANGO_SUCCESS != TangoService_connectOnFrameAvailable(
         TANGO_CAMERA_COLOR, NULL, __onFrameAvailable) )
{
  LOG_ERROR("TangoService_connectOnFrameAvailable() failed.");
  return FALSE;
}
else
{
  LOG_INFO("TangoService_connectOnFrameAvailable() successful.");
} // if

but that function is never ever called. Even if I set the configuration paramater config_enable_color_camera to TRUE, using

if( TANGO_SUCCESS != TangoConfig_setBool(configE, "config_enable_color_camera", TRUE) )
{
  LOG_ERROR("TangoConfig_setBool(config_enable_color_camera=true) failed.");
  return FALSE;
} // if
else
{
  LOG_INFO("TangoConfig_setBool(config_enable_color_camera=true) successful.");
} // if

this has no effect.

However, when I uninstall the Project Tango Core and revert to the factory settings, function __onFrameAvailable() is called. I did not have this problem with the Ito Release 1.7...

Any idea what I am doing wrong?

Thanks in advance...

来源:https://stackoverflow.com/questions/29347730/no-color-frames-since-updating-to-jacobi-release-1-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!