EdgeCameraXYU Result

Runtime Only

Applies To
Vision Objects: ArcFinder, LineFinder

Description
Returns the CameraX, CameraY and Angle position coordinates of the edges found during the search.

Usage

VGet  Sequence.Object.EdgeCameraXYU(result), found, xVar, yVar, uVar
Sequence
Name of a sequence or string variable containing a sequence name.
Object
Name of an object or string variable containing an object name. The object must exist in the specified sequence.
found
Boolean variable representing whether the edge was found.
xVar
Real variable that will contain the X coordinate position of the edge.
yVar
Real variable that will contain the Y coordinate position of the edge.
uVar
Real variable that will contain the angle of the edge search line in the camera coordinate system.
result
Edge result number
.

Values

  • found Boolean value which is either : True or False
  • xVar Real number in: millimeters
  • yVar Real number in: millimeters
  • uVar Real number in: degrees

Remarks
LineFinder and ArcFinder use several edges to find a line or arc. You can get the position results for each of the searched edges in the camera world by using EdgeCameraXYU.

You must set the CurrentResult property to the LineFinder result whose edge results you want to retrieve. The number of edge results is equal to the NumberOfEdges property.

The xVar and yVar values are returned in millimeters since the camera coordinate system is calibrated in millimeters. The uVar value is returned in degrees.

It should be noted that the EdgeCameraXYU result can only be calculated for vision sequences which have been associated with a calibration. If no calibration has been assigned to the vision sequence then if VGet is used to retrieve the EdgeCameraXYU result, an error will occur.

The EdgeCameraXYU result can be calculated only when valid calibration data is set to the Calibration property of the vision sequence. If the calibration has not been completed or the Calibration property has not been set, the EdgeCameraXYU result will be an error.

The EdgeCameraXYU result is available at runtime only.

See Also
ArcFinder Object, EdgePixelXYU Result, EdgeRobotXYU Result, LineFinder Object