Skip to content

Vision Process

Trial Capture (0x8125)

Description: Upper computer sends, trial capture

Command: 0x8125

Request Parameters

ParameterTypeRequiredDescriptionValue Range
cali_camera_angleboolYesWhether to record workpiece rotation angletrue: Record, false: Do not record
robotintYesCurrent robot[1, 4]
visionNumintYesProcess number[0, 98]

Request Example

json
{
  "cali_camera_angle": false,
  "robot": 1,
  "visionNum": 0
}

Capture Result (0x8126)

Description: Controller returns capture result

Command: 0x8126

Response Parameters

ParameterTypeRequiredDescriptionValue Range
cameraPointdouble[6]YesCamera coordinate point-
protocol.typeintYesData parsing type0: 2D, 1: 2D + height, 2: 3D
camera_angledoubleYesWorkpiece rotation angle[-180, 180]
cameraDatastringYesReceived data-

Response Example

json
{
  "cameraPoint": [0, 0, 0, 0, 0, 0],
  "protocol":
  {
    "type": 0
  },
  "camera_angle": 0,
  "cameraData": ""
}