UAT 463 Smart Robotics and Automation

Worksheet 1 The MM-1 perception pipeline from image to pick point

Lab 12 hAssesses CLO1, CLO2

Objective

Measure the latency and error of the perception pipeline and make the error budget from camera to battery bay

Equipment and materials

  • Wrist camera and depth camera above a mock conveyor
  • Square tags of known size and the camera intrinsics
  • A test arm or a simulator that provides forward kinematics
  • Computer with Python and the example code at /downloads/uat-463/

Safety

  • Arm and mock conveyor work is in a guarded area with an emergency stop within reach
  • Keep the arm slow during calibration and stay out of its reach
  • Comparison and calculation work is desk work

Steps

  1. Set up the camera and tags; record the true tag size and the camera intrinsics
  2. Measure the latency of each stage with timestamps, enter it in Example 1, and find the share within tolerance before and after compensation
  3. Image the tag at 0.3, 0.6 and 1.2 m, 100 images each; find the RMS depth error with solvePnP and compare with the formula
  4. Collect a belt point cloud with one parcel; find the plane with RANSAC and compare with least squares; report the parcel height and centre
  5. Calibrate the camera to the arm base with 12 points and touch 5 unused test points; report FRE and TRE and conclude whether the error budget meets the limit

Record of results

Table 1 Latency of each stage of the perception pipeline
StageMean (ms)Standard deviation (ms)Frames measured
Table 2 PnP error by range
Range (m)ImagesMeasured depth RMS (mm)Formula value (mm)Measured lateral RMS (mm)
Table 3 Point-cloud, calibration and error-budget results
QuantityValueUnitHow it was obtained

Questions

  1. From Table 1, what share of picks is within 5 mm before and after timestamp compensation? Which stage takes the longest, and why is knowing the age of the data accurately worth more than a faster detector?

  2. From Table 2, by how many times does the depth error grow when range goes from 0.6 to 1.2 m? Does it follow the z² formula, and below what range should the group use the tag for fine alignment?

  3. Why does the least-squares plane tilt much more than the RANSAC plane, and why is the parcel centre from the median closer than the one from the mean?

  4. How do your group's FRE and TRE differ, which one should judge the calibration, and does the error budget to the battery bay meet 3 mm per axis? If not, which part should be improved first?

Check before you hand in

What to hand in

  • Latency table before and after compensation
  • Table of depth RMS error by range
  • RANSAC versus least-squares result
  • FRE, TRE and the error budget to the battery bay

CLO1 Explain the architecture of an intelligent robot: perception, localization, planning and decision making, motion control and the robot operating framework. CLO2 Develop and test a robot prototype that perceives, decides and controls its motion through ROS 2 and sensor and actuator interfaces. (CLOs are a web-team draft; the course owner sets the final ones.)

Instructors: answers and teaching notes for this worksheet are in the teaching pack