Warning

You are reading the documentation for an older Pickit release (2.2). Documentation for the latest release (3.4) can be found here.

Calibration program

If you want to perform robot-camera calibration once or infrequently, you can teach the calibration poses manually using the Collect current pose button of the calibration wizard. No robot programming is required.

If, on the other hand, you expect to run calibration multiple times, you can use the program below, which stores the calibration poses. This would be useful in the case when, for instance, the relative position of the camera with respect to the robot is not yet fully decided for your application.

Performing robot-camera calibration programmatically is a simple task. It consists of teaching a number of calibration poses and iterating through them as Pickit detects the calibration plate.

Note

Before running the program, the user must have the Calibration page of the Pickit web interface open.

The following is an example multi-poses calibration robot program.

 1# Calibration poses (needs replacing with actual values).
 2Point1 = [x,y,z,rx,ry,rz]
 3Point2 = [x,y,z,rx,ry,rz]
 4Point3 = [x,y,z,rx,ry,rz]
 5Point4 = [x,y,z,rx,ry,rz]
 6Point5 = [x,y,z,rx,ry,rz]
 7
 8# Move to each calibration pose and trigger a calibration plate detection.
 9movej(Point1)
10pickit_find_calibration_plate()
11
12movej(Point2)
13pickit_find_calibration_plate()
14
15movej(Point3)
16pickit_find_calibration_plate()
17
18movej(Point4)
19pickit_find_calibration_plate()
20
21movej(Point5)
22pickit_find_calibration_plate()