Vision

The camera: AprilTags and colour blobs as lists of what was found, pixels to bearings, steering by what you see, and searching for what you cannot.

Module 4Robot club6 lessons

Start in the simulator
  1. 4.1 What the camera sees set_cv, the tag list, pixels and distance, empty lists.
  2. 4.2 Where is it? Pixels to degrees, and a controller that turns to face a tag.
  3. 4.3 Visual servoing Steer from cx, speed from distance: docking at a tag.
  4. 4.4 Colour The blob detector: one colour at a time, area and box width as distance.
  5. 4.5 Searching Spin until it is in view; find and approach as functions; list comprehensions.
  6. 4.6 Project: the marker trail Visit three tag cubes in order.