cpp_video_stabilization_experiment/app/src/main/jni/video_stabilization_app.cc
bool VideoStabilizationApp::TangoConnect() {
  TangoErrorType ret = TangoService_connect(this, tango_config_);
  if (ret != TANGO_SUCCESS) {
    LOGE(
        "VideoStabilizationApp: Failed to connect to the Tango service with"
        "error code: %d",
        ret);
    return false;
  }

  // Initialize TangoSupport context.
  TangoSupport_initialize(TangoService_getPoseAtTime,
                          TangoService_getCameraIntrinsics);

  return true;
}
// Connect to Tango Service, service will start running, and
// pose can be queried.
Connect to Tango Service, service will start running, and
pose can be queried.
Connect to Tango Service service will start running and pose can be queried .
bool VideoStabilizationApp::TangoConnect() {
  TangoErrorType ret = TangoService_connect(this, tango_config_);
  if (ret != TANGO_SUCCESS) {
    LOGE(
        "VideoStabilizationApp: Failed to connect to the Tango service with"
        "error code: %d",
        ret);
    return false;
  }
  TangoSupport_initialize(TangoService_getPoseAtTime,
                          TangoService_getCameraIntrinsics);
  return true;
}
bool VideoStabilizationApp :: TangoConnect ( ) { TangoErrorType ret = TangoService_connect ( this , tango_config_ ) ; if ( ret != TANGO_SUCCESS ) { LOGE ( " " " " , ret ) ; return false ; } TangoSupport_initialize ( TangoService_getPoseAtTime , TangoService_getCameraIntrinsics ) ; return true ; }
Connect to Tango Service, service will start running, and
pose can be queried.
Connect to Tango Service service will start running and pose can be queried .
// Initialize TangoSupport context.