VLOCATION transformation function In this example, the 1311 result ID indicates using the first gripper offset. This is equivalent to using the 1400 result ID. ; Retrieve the location of a found instance ; instance location = 1311 SET location = VLOCATION($ip, 1, 2, 1, 1311) Example 2 ; set 1st gripper offset location ; 1st gripper offset location = 1400 SET location = VLOCATION ($ip, 1, 2, 1, 1400) ; set 2nd gripper offset location SET location = VLOCATION ($ip, 1, 2, 1, 1401) ...
; set 6th gripper offset location SET location = VLOCATION ($ip, 1, 2, 1, 1405) Example 3 ; Retrieve the location of the Belt frame ; BeltCalibrationFrame index is 10000 VLOCATION ($ip, -1, cameraIndex, , 10000, robotIndex) ; Retrieve the location of the Vision origin ; VisionOrigin index is 10050 VLOCATION ($ip, -1, cameraIndex, , 10050, robotIndex) ACE Reference Guide, 18317-000 Rev A Page 38