Enums

ErrorCode

enum mynteyed::ErrorCode

List error codes.

Values:

SUCCESS = 0

Standard code for successful behavior.

ERROR_FAILURE

Standard code for unsuccessful behavior.

ERROR_FILE_OPEN_FAILED

File cannot be opened for not exist, not a regular file or any other reason.

ERROR_CAMERA_OPEN_FAILED

Camera cannot be opened for not plugged or any other reason.

ERROR_CAMERA_NOT_OPENED

Camera is not opened now.

ERROR_CAMERA_RETRIEVE_FAILED

Camera retrieve the image failed.

ERROR_IMU_OPEN_FAILED

Imu cannot be opened for not plugged or any other reason.

ERROR_IMU_RECV_TIMEOUT

Imu receive data timeout.

ERROR_IMU_DATA_ERROR

Imu receive data error.

ERROR_CODE_LAST

Last guard.

Descriptor

enum mynteyed::Descriptor

The descriptor fields.

Values:

DEVICE_NAME

Device name.

SERIAL_NUMBER

Serial number.

FIRMWARE_VERSION

Firmware version.

HARDWARE_VERSION

Hardware version.

SPEC_VERSION

Spec version.

LENS_TYPE

Lens type.

IMU_TYPE

IMU type.

NOMINAL_BASELINE

Nominal baseline.

DESC_LAST

Last guard.

ProcessMode

enum mynteyed::ProcessMode

Process modes.

Values:

PROC_NONE = 0
PROC_IMU_ASSEMBLY = 1
PROC_IMU_TEMP_DRIFT = 2
PROC_IMU_ALL = PROC_IMU_ASSEMBLY | PROC_IMU_TEMP_DRIFT

DeviceMode

enum mynteyed::DeviceMode

List device modes.

Control the color & depth streams enabled or not.

Note: y: available, n: unavailable, -: depends on StreamMode

Values:

DEVICE_COLOR = 0

IMAGE_LEFT_COLOR y IMAGE_RIGHT_COLOR - IMAGE_DEPTH n.

DEVICE_DEPTH = 1

IMAGE_LEFT_COLOR n IMAGE_RIGHT_COLOR n IMAGE_DEPTH y.

DEVICE_ALL = 2

IMAGE_LEFT_COLOR y IMAGE_RIGHT_COLOR - IMAGE_DEPTH y.

ColorMode

enum mynteyed::ColorMode

List color modes.

Values:

COLOR_RAW = 0

color raw

COLOR_RECTIFIED = 1

color rectified

COLOR_MODE_LAST

DepthMode

enum mynteyed::DepthMode

List depth modes.

Values:

DEPTH_RAW = 0

ImageFormat::DEPTH_RAW.

DEPTH_GRAY = 1

ImageFormat::DEPTH_GRAY_24.

DEPTH_COLORFUL = 2

ImageFormat::DEPTH_RGB.

DEPTH_MODE_LAST

StreamMode

enum mynteyed::StreamMode

List stream modes.

Values:

STREAM_640x480 = 0

480p, vga, left

STREAM_1280x480 = 1

480p, vga, left+right

STREAM_1280x720 = 2

720p, hd, left

STREAM_2560x720 = 3

720p, hd, left+right

STREAM_MODE_LAST

StreamFormat

enum mynteyed::StreamFormat

List stream formats.

Values:

STREAM_MJPG = 0
STREAM_YUYV = 1
STREAM_FORMAT_LAST

ImageType

enum mynteyed::ImageType

List image types.

Values:

IMAGE_LEFT_COLOR

LEFT Color.

IMAGE_RIGHT_COLOR

RIGHT Color.

IMAGE_DEPTH

Depth.

IMAGE_ALL

All.

ImageFormat

enum mynteyed::ImageFormat

List image formats.

Values:

IMAGE_BGR_24

8UC3

IMAGE_RGB_24

8UC3

IMAGE_GRAY_8

8UC1

IMAGE_GRAY_16

16UC1

IMAGE_GRAY_24

8UC3

IMAGE_YUYV

8UC2

IMAGE_MJPG
COLOR_BGR = IMAGE_BGR_24
COLOR_RGB = IMAGE_RGB_24
COLOR_YUYV = IMAGE_YUYV
COLOR_MJPG = IMAGE_MJPG
DEPTH_RAW = IMAGE_GRAY_16
DEPTH_GRAY = IMAGE_GRAY_8
DEPTH_GRAY_24 = IMAGE_GRAY_24
DEPTH_BGR = IMAGE_BGR_24
DEPTH_RGB = IMAGE_RGB_24
IMAGE_FORMAT_LAST

Last guard.

SensorType

enum mynteyed::SensorType

SensorType types.

Values:

SENSOR_TYPE_H22 = 0
SENSOR_TYPE_OV7740
SENSOR_TYPE_AR0134
SENSOR_TYPE_AR0135
SENSOR_TYPE_OV9714

SensorMode

enum mynteyed::SensorMode

SensorMode modes.

Values:

LEFT = 0
RIGHT
ALL