Warning

You are reading the documentation for an older Pickit release. Documentation for the latest release (2.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
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Calibration poses (needs replacing with actual values).
Point1 = [x,y,z,rx,ry,rz]
Point2 = [x,y,z,rx,ry,rz]
Point3 = [x,y,z,rx,ry,rz]
Point4 = [x,y,z,rx,ry,rz]
Point5 = [x,y,z,rx,ry,rz]

# Move to each calibration pose and trigger a calibration plate detection.
movej(Point1)
pickit_find_calibration_plate()

movej(Point2)
pickit_find_calibration_plate()

movej(Point3)
pickit_find_calibration_plate()

movej(Point4)
pickit_find_calibration_plate()

movej(Point5)
pickit_find_calibration_plate()