Autonomous RockyBorg

A black line-following robot implementation using Raspberry Pi, PiCamera2, with servo steering control. The robot can follow black lines, detect cross junctions.

Main Feature:

  • Pixel-Binning Technique:

    A statistical approach to line following, the pixel-binning method, was devised that divided the frame into x (default 40) vertical segments. Each bin counted the black pixels in that section. The robot used the weighted mean of active bins to follow the track. Filtering:

  • Weight based filtering removes outliers
  • Retains only bins ≥50% of the pixel count approximately

Live run

Visualisation

Further work: Devising am algorithm that follows a multivariate probability distribution of linear and horizontal sectioning of pixels