Functions
Tango Service: Depth Interface

Functions for getting depth information from the device. More...

Functions

TangoErrorType TangoService_connectOnPointCloudAvailable (void(*TangoService_onPointCloudAvailable)(void *context, const TangoPointCloud *cloud),...)
TangoErrorType TangoService_connectOnXYZijAvailable (void(*TangoService_onXYZijAvailable)(void *context, const TangoXYZij *xyz_ij),...)

Detailed Description

Functions for getting depth information from the device.


Function Documentation

TangoErrorType TangoService_connectOnPointCloudAvailable ( void(*)(void *context, const TangoPointCloud *cloud)  TangoService_onPointCloudAvailable,
  ... 
)

Attach an onPointCloudAvailable callback. The callback is called each time new depth data is available.

An optional argument following the callback pointer can be supplied and will be returned in the callback context parameter if TangoService_connect() was called with a null context.

Parameters:
TangoService_onPointCloudAvailableFunction pointer for the callback function.
Returns:
TANGO_ERROR if the callback function pointer is null; TANGO_SUCCESS otherwise.
TangoErrorType TangoService_connectOnXYZijAvailable ( void(*)(void *context, const TangoXYZij *xyz_ij)  TangoService_onXYZijAvailable,
  ... 
)
Deprecated:
Use TangoService_connectOnPointCloudAvailable instead.

Attach an onXYZijAvailable callback. The callback is called each time new depth data is available. On the Tango tablet, the depth callback occurs at 5 Hz.

An optional argument following the callback pointer can be supplied and will be returned in the callback context parameter if TangoService_connect() was called with a null context.

Parameters:
TangoService_onXYZijAvailableFunction pointer for the callback function.
Returns:
TANGO_ERROR if the callback function pointer is null; TANGO_SUCCESS otherwise.


tango_client_api
Author(s):
autogenerated on Thu Jun 6 2019 19:49:49