Struct ErrorStatus

Struct Documentation

struct ErrorStatus

This enumeration defines the types of errors.

Public Types

enum ErrorCode

Values:

enumerator MMIND_STATUS_SUCCESS

Success status.

enumerator MMIND_STATUS_INVALID_DEVICE

Error invalid device.

enumerator MMIND_STATUS_DEVICE_OFFLINE

Error offline device. Please check the status of the device.

enumerator MMIND_STATUS_FIRMWARE_NOT_SUPPORTED

Error not supported camera firmware. Please use MechEye Viewer to upgrade.

enumerator MMIND_STATUS_PARAMETER_SET_ERROR

Error setting parameter to device.

enumerator MMIND_STATUS_PARAMETER_GET_ERROR

Error reading parameter from device.

enumerator MMIND_STATUS_CAPTURE_NO_FRAME

Error no frame is captured.

enumerator MMIND_STATUS_INVALID_INPUT_FRAME

Error invalid input frame.

enumerator MMIND_STATUS_INVALID_INTRINSICS_PARAMETER

Error invalid intrinsics parameters.

enumerator MMIND_HANDEYE_CALIBRATION_POSE_INVALID

Error invalid pose..

enumerator MMIND_HANDEYE_CALIBRATION_PATTERN_IMAGE_ERROR

Error occurred while processing the 2D image with feature detection results.

enumerator MMIND_HANDEYE_CALIBRATION_POSES_INSUFFICIENT

Error insufficient calibration poses.

Public Functions

ErrorStatus() = default
inline ErrorStatus(ErrorCode code, const std::string &message)
inline bool isOK() const

Public Members

ErrorCode errorCode = {MMIND_STATUS_SUCCESS}

Error code.

std::string errorDescription

Detailed error message.