CameraXYU Result
Runtime Only
Applies To
Vision Objects: ArcFinder, ArcInspector, Blob, BoxFinder, CodeReader, ColorMatch, Contour, CornerFinder, Correlation, Edge, Geometric, LineInspector, Point, Polar, Coordinates
Description
Returns the CameraX, CameraY and Angle position coordinates of the found part’s position in the camera coordinate frame.
Usage
VGet Sequence.Object.CameraXYU [(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 part you are looking for was found.
- xVar
- Real variable that will contain the X coordinate position of the part.
- yVar
- Real variable that will contain the Y coordinate position of the part.
- uVar
- Real variable that will contain the angular position (rotation) of the part with respect to the camera coordinate system
- result
- Optional result number. If omitted, the result number is the CurrentResult. Used for objects that return multiple results.
Values
- found: Boolean variable which is either: "True" or "False"
- xVar: Real variable representing: X coordinate position in millimeters
- yVar: Real variable representing: Y coordinate position in millimeters
- uVar: Real variable representing: angle in degrees
Remarks
The xVar and yVar values are returned in millimeters since the Camera Coordinate Frame is calibrated in millimeters. The uVar value is returned in degrees.
The CameraXYU result is always in millimeters in the camera coordinate system.
The CameraXYU 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 CameraXYU result will be an error.
The CameraXYU result is available at runtime only.
See Also
Angle Result, ArcFinder Object, ArcInspector Object, Blob Object, CameraX Result, CameraY Result, CodeReader Object, ColorMatch Object, Contour Object, Correlation Object, Edge Object, Found Result, Geometric Object, Point Object, Polar Object, BoxFinder Object, CornerFinder Object, RobotXYU Result, Coordinates Object