Enumerations
Project Tango Enumerated Types

Enums for camera, configuration, coordinate frame, and error types. More...

Enumerations

enum  TangoCalibrationType {
  TANGO_CALIBRATION_UNKNOWN, TANGO_CALIBRATION_EQUIDISTANT, TANGO_CALIBRATION_POLYNOMIAL_2_PARAMETERS, TANGO_CALIBRATION_POLYNOMIAL_3_PARAMETERS,
  TANGO_CALIBRATION_POLYNOMIAL_5_PARAMETERS
}
 
enum  TangoCameraId {
  TANGO_CAMERA_COLOR = 0, TANGO_CAMERA_RGBIR, TANGO_CAMERA_FISHEYE, TANGO_CAMERA_DEPTH,
  TANGO_MAX_CAMERA_ID
}
 Tango Camera enumerations. More...
 
enum  TangoConfigType {
  TANGO_CONFIG_DEFAULT = 0, TANGO_CONFIG_CURRENT, TANGO_CONFIG_MOTION_TRACKING, TANGO_CONFIG_AREA_LEARNING,
  TANGO_CONFIG_RUNTIME, TANGO_MAX_CONFIG_TYPE
}
 Tango runtime configuration enumerations. More...
 
enum  TangoCoordinateFrameType {
  TANGO_COORDINATE_FRAME_GLOBAL_WGS84 = 0, TANGO_COORDINATE_FRAME_AREA_DESCRIPTION, TANGO_COORDINATE_FRAME_START_OF_SERVICE, TANGO_COORDINATE_FRAME_PREVIOUS_DEVICE_POSE,
  TANGO_COORDINATE_FRAME_DEVICE, TANGO_COORDINATE_FRAME_IMU, TANGO_COORDINATE_FRAME_DISPLAY, TANGO_COORDINATE_FRAME_CAMERA_COLOR,
  TANGO_COORDINATE_FRAME_CAMERA_DEPTH, TANGO_COORDINATE_FRAME_CAMERA_FISHEYE, TANGO_COORDINATE_FRAME_UUID, TANGO_COORDINATE_FRAME_INVALID,
  TANGO_MAX_COORDINATE_FRAME_TYPE
}
 Tango coordinate frame enumerations. More...
 
enum  TangoDepthMode { TANGO_POINTCLOUD_XYZIJ = -1, TANGO_POINTCLOUD_XYZC = 0 }
 Tango depth data formats. More...
 
enum  TangoErrorType {
  TANGO_NO_LOCATION_PERMISSION = -8, TANGO_NO_DATASET_PERMISSION = -7, TANGO_NO_IMPORT_EXPORT_PERMISSION = -6, TANGO_NO_CAMERA_PERMISSION = -5,
  TANGO_NO_ADF_PERMISSION = -4, TANGO_NO_MOTION_TRACKING_PERMISSION = -3, TANGO_INVALID = -2, TANGO_ERROR = -1,
  TANGO_SUCCESS = 0
}
 Tango Error types. Errors less than 0 should be dealt with by the program. Success is denoted by TANGO_SUCCESS = 0. More...
 
enum  TangoEventType {
  TANGO_EVENT_UNKNOWN = 0, TANGO_EVENT_GENERAL, TANGO_EVENT_FISHEYE_CAMERA, TANGO_EVENT_COLOR_CAMERA,
  TANGO_EVENT_IMU, TANGO_EVENT_FEATURE_TRACKING, TANGO_EVENT_AREA_LEARNING, TANGO_EVENT_CLOUD_ADF
}
 Tango Event types. More...
 
enum  TangoImageFormatType { TANGO_HAL_PIXEL_FORMAT_RGBA_8888 = 1, TANGO_HAL_PIXEL_FORMAT_YV12 = 0x32315659, TANGO_HAL_PIXEL_FORMAT_YCrCb_420_SP = 0x11 }
 
enum  TangoPoseStatusType { TANGO_POSE_INITIALIZING = 0, TANGO_POSE_VALID, TANGO_POSE_INVALID, TANGO_POSE_UNKNOWN }
 Tango pose status lifecycle enumerations. Every pose has a state denoted by this enum, which provides information about the internal status of the position estimate. The application may use the status to decide what actions or rendering should be taken. A change in the status between poses and subsequent timestamps can denote lifecycle state changes. The status affects the rotation and position estimates. Other fields are considered valid (i.e. version or timestamp). More...
 
enum  TangoRecordingMode_Experimental {
  TANGO_RECORDING_MODE_UNKNOWN = -1, TANGO_RECORDING_MODE_MOTION_TRACKING = 0, TANGO_RECORDING_MODE_SCENE_RECONSTRUCTION = 1, TANGO_RECORDING_MODE_MOTION_TRACKING_AND_FISHEYE = 2,
  TANGO_RECORDING_MODE_ALL = 3
}
 
enum  TangoRuntimeRecordingControl_Experimental { TANGO_RUNTIME_RECORDING_NO_CHANGE = 0, TANGO_RUNTIME_RECORDING_START = 1, TANGO_RUNTIME_RECORDING_STOP = 2 }
 

Detailed Description

Enums for camera, configuration, coordinate frame, and error types.

Enumeration Type Documentation

Tango Camera Calibration types. See TangoCameraIntrinsics for a detailed description.

Enumerator
TANGO_CALIBRATION_UNKNOWN 
TANGO_CALIBRATION_EQUIDISTANT 

The FOV camera model described in Parallel tracking and mapping for small AR workspaces.

TANGO_CALIBRATION_POLYNOMIAL_2_PARAMETERS 

Brown's distortion model, with the parameter vector representing the distortion as [k1, k2].

TANGO_CALIBRATION_POLYNOMIAL_3_PARAMETERS 

Brown's distortion model, with the parameter vector representing the distortion as [k1, k2, k3].

TANGO_CALIBRATION_POLYNOMIAL_5_PARAMETERS 

Brown's distortion model, with the parameter vector representing the distortion as [k1, k2, p1, p2, k3].

Definition at line 145 of file tango_client_api.h.

Tango Camera enumerations.

Enumerator
TANGO_CAMERA_COLOR 

Back-facing color camera.

TANGO_CAMERA_RGBIR 

Back-facing camera producing IR-sensitive images.

TANGO_CAMERA_FISHEYE 

Back-facing fisheye wide-angle camera.

TANGO_CAMERA_DEPTH 

Depth camera.

TANGO_MAX_CAMERA_ID 

Maximum camera allowable.

Definition at line 29 of file tango_client_api.h.

Tango runtime configuration enumerations.

Enumerator
TANGO_CONFIG_DEFAULT 

Default, motion tracking only.

TANGO_CONFIG_CURRENT 

Current.

TANGO_CONFIG_MOTION_TRACKING 

Motion tracking.

TANGO_CONFIG_AREA_LEARNING 

Area learning.

TANGO_CONFIG_RUNTIME 

Runtime settable configuration.

TANGO_MAX_CONFIG_TYPE 

Maximum number allowable.

Definition at line 38 of file tango_client_api.h.

Tango coordinate frame enumerations.

Enumerator
TANGO_COORDINATE_FRAME_GLOBAL_WGS84 

Coordinate system for the entire Earth. See WGS84: World Geodetic System

TANGO_COORDINATE_FRAME_AREA_DESCRIPTION 

Origin within a saved area description.

TANGO_COORDINATE_FRAME_START_OF_SERVICE 

Origin when the device started tracking.

TANGO_COORDINATE_FRAME_PREVIOUS_DEVICE_POSE 

Immediately previous device pose.

TANGO_COORDINATE_FRAME_DEVICE 

Device coordinate frame.

TANGO_COORDINATE_FRAME_IMU 

Inertial Measurement Unit.

TANGO_COORDINATE_FRAME_DISPLAY 

Display.

TANGO_COORDINATE_FRAME_CAMERA_COLOR 

Color camera.

TANGO_COORDINATE_FRAME_CAMERA_DEPTH 

Depth camera.

TANGO_COORDINATE_FRAME_CAMERA_FISHEYE 

Fisheye camera.

TANGO_COORDINATE_FRAME_UUID 

Tango unique id.

TANGO_COORDINATE_FRAME_INVALID 
TANGO_MAX_COORDINATE_FRAME_TYPE 

Maximum allowed.

Definition at line 48 of file tango_client_api.h.

Tango depth data formats.

Enumerator
TANGO_POINTCLOUD_XYZIJ 
Deprecated:
Use TANGO_POINTCLOUD_XYZC instead.

See TangoXYZij.

TANGO_POINTCLOUD_XYZC 

See TangoPointCloud.

Definition at line 173 of file tango_client_api.h.

Tango Error types. Errors less than 0 should be dealt with by the program. Success is denoted by TANGO_SUCCESS = 0.

Enumerator
TANGO_NO_LOCATION_PERMISSION 

The calling app is missing Android permissions for ACCESS_FINE_LOCATION.

TANGO_NO_DATASET_PERMISSION 

The user has not given permissions to read and write datasets.

TANGO_NO_IMPORT_EXPORT_PERMISSION 

The user has not given permission to export or import ADF files.

TANGO_NO_CAMERA_PERMISSION 

The user has not given permission to access the device's camera.

TANGO_NO_ADF_PERMISSION 

The user has not given permission to save or change ADF files.

TANGO_NO_MOTION_TRACKING_PERMISSION 

The user has not given permission to use Motion Tracking functionality. Note: Motion Tracking permission is deprecated, apps are always permitted.

TANGO_INVALID 

The input argument is invalid.

TANGO_ERROR 

This error code denotes some sort of hard error occurred.

TANGO_SUCCESS 

This code indicates success.

Definition at line 74 of file tango_client_api.h.

Tango Event types.

Enumerator
TANGO_EVENT_UNKNOWN 

Unclassified Event Type.

TANGO_EVENT_GENERAL 

General uncategorized callbacks.

TANGO_EVENT_FISHEYE_CAMERA 

Fisheye Camera Event.

TANGO_EVENT_COLOR_CAMERA 

Color Camera Event.

TANGO_EVENT_IMU 

IMU Event.

TANGO_EVENT_FEATURE_TRACKING 

Feature Tracking Event.

TANGO_EVENT_AREA_LEARNING 

Area Learning Event.

TANGO_EVENT_CLOUD_ADF 

Event related to cloud ADFs.

Definition at line 113 of file tango_client_api.h.

Tango Image Formats

Equivalent to those found in Android core/system/include/system/graphics.h. See TangoImageBuffer for a format description.

Enumerator
TANGO_HAL_PIXEL_FORMAT_RGBA_8888 

RGBA 8888.

TANGO_HAL_PIXEL_FORMAT_YV12 

YV12.

TANGO_HAL_PIXEL_FORMAT_YCrCb_420_SP 

NV21.

Definition at line 166 of file tango_client_api.h.

Tango pose status lifecycle enumerations. Every pose has a state denoted by this enum, which provides information about the internal status of the position estimate. The application may use the status to decide what actions or rendering should be taken. A change in the status between poses and subsequent timestamps can denote lifecycle state changes. The status affects the rotation and position estimates. Other fields are considered valid (i.e. version or timestamp).

Enumerator
TANGO_POSE_INITIALIZING 

Motion estimation is being initialized.

TANGO_POSE_VALID 

The pose of this estimate is valid.

TANGO_POSE_INVALID 

The pose of this estimate is not valid.

TANGO_POSE_UNKNOWN 

Could not estimate pose at this time.

Definition at line 103 of file tango_client_api.h.

Experimental API only, subject to change. Dataset recording mode.

Enumerator
TANGO_RECORDING_MODE_UNKNOWN 

Unknown dataset recording mode.

TANGO_RECORDING_MODE_MOTION_TRACKING 

Contains only data required for motion tracking.

TANGO_RECORDING_MODE_SCENE_RECONSTRUCTION 

Contains data required for motion tracking and scene reconstruction.

TANGO_RECORDING_MODE_MOTION_TRACKING_AND_FISHEYE 

Contains data required for motion tracking, as well as fisheye images.

TANGO_RECORDING_MODE_ALL 

Contains motion data, depth, and fisheye and RGB images.

Definition at line 184 of file tango_client_api.h.

Experimental API only, subject to change. Runtime control of recording.

Enumerator
TANGO_RUNTIME_RECORDING_NO_CHANGE 

Specifies that the recording should not change in this call to runtime config.

TANGO_RUNTIME_RECORDING_START 

Start recording. Has no effect if recording has already been started.

TANGO_RUNTIME_RECORDING_STOP 

Stop recording. Has no effect if recording is not currently started.

Definition at line 199 of file tango_client_api.h.



tango_client_api
Author(s):
autogenerated on Mon Jun 10 2019 15:37:44