SELECTED WORK / PROJECT 003

PenguinPiAutonomous shopping robot

Connecting localisation, computer vision and motion control to turn a shopping list into robot actions.

RoboticsComputer visionSLAMPath planningFeedback control
Annotated PenguinPi robot views showing its camera, drive wheels, Raspberry Pi and control electronics
PENGUINPI / DIFFERENTIAL-DRIVE PLATFORMPLATFORM PHOTOGRAPH
MY ROLE
Robotics software & integration
PLATFORM
PenguinPi mobile robot
CONTEXT
Autonomous robotics project
FOCUS
Localisation, perception & navigation

01

Challenge

Build a mobile robot that finds grocery targets and navigates around obstacles in a small arena.

  • I worked on a team robotics project connecting sensing, mapping, planning and control.
  • The PenguinPi platform combined a camera, differential-drive wheels and a Python control interface.
  • The project progressed from robot access and calibration to integrated autonomous target visits.

02

Systems engineering

  • Wheel motion predicted robot pose, while ArUco observations corrected the localisation estimate.
  • Object detections became world coordinates using camera calibration and the corresponding robot pose.
  • A shared map connected perception to obstacle-aware planning and waypoint control.
System architecture · Implementation overview

03

Milestone progression

The initial checkpoint established robot communication, keyboard control and image capture.

M1 / CALIBRATION & SLAM

Locate the robot

  • Calibrated camera intrinsics, distortion, wheel scale and wheel separation.
  • Implemented differential-drive prediction and EKF landmark updates.
  • Added parameter sweeps and map-alignment tools for assessing localisation.

M2 / COMPUTER VISION

Map the groceries

  • Prepared object-detection training workflows and background augmentation.
  • Estimated object range and bearing from bounding boxes and physical dimensions.
  • Merged repeated observations into object positions using DBSCAN clustering.

M3 / AUTONOMOUS NAVIGATION

Act on the map

  • Implemented Theta* path planning with robot-footprint clearance checks.
  • Used feedback control to follow waypoints and approach targets.
  • Coordinated scanning, exploration, target visits and retreat through a state machine.

04

Localisation

  • Camera calibration connected image measurements to real geometry.
  • The wheel model converted left and right wheel speeds into robot translation and rotation.
  • EKF prediction propagated motion uncertainty before landmark observations updated the state.
  • Evaluation tools compared landmark maps after coordinate-frame alignment.
Camera calibration rig
SLAM interface

05

Perception & object mapping

  • YOLO detections supplied object labels and image bounding boxes.
  • Known object height and focal length provided a range estimate.
  • Robot pose and the camera offset transformed detections into world coordinates.
  • Geometry filters and clustering reduced duplicate or implausible position estimates.

Training & generalisation

  • Background randomisation expanded the variety of training scenes.
  • The generator created YOLO-format annotations while checking object overlap.
  • Training notebooks supported detector development alongside the geometric mapping pipeline.
Target object categories
Integrated vision and SLAM interface
Bounding-box detection

07

Validation & integration

  1. 01

    Calibrate and replay

    Use calibration records and saved observations to assess the motion and landmark models.

  2. 02

    Evaluate the map

    Compare aligned landmark and object estimates with the reference arena.

  3. 03

    Integrate the behaviour

    Connect scan decisions, planning, waypoint control and target visits in the autonomous loop.

08

Reflection

  • This project connected robotics algorithms to the practical details of sensing, timing and motion.
  • It reinforced the value of clear interfaces between software modules.
01

Calibration affects every downstream decision

Small geometry errors can propagate from localisation into object positions and planned paths.

02

Plan for a robot with a footprint

A collision-free centreline still needs enough clearance for the physical robot.

03

Make behaviour visible

Explicit states and visual feedback help explain why the robot scans, moves, stops or retries.

JERRY SUN / ENGINEERING PORTFOLIO

Back to selected work