Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autonomous Object Detection & Acquisition System (AODAS)

A vision-guided autonomous omnidirectional mobile robot that detects, predicts and autonomously acquires moving targets using computer vision, state estimation and closed-loop control.

Python Raspberry Pi OpenCV Kalman Filter PD Controller Mecanum Drive License


Demo


Overview

AODAS (Autonomous Object Detection & Acquisition System) is an embedded robotics platform built around a Raspberry Pi 5 that combines perception, state estimation and control into a complete autonomous system.

The robot captures live video from a wide-angle camera, detects a coloured target using OpenCV, predicts target motion using a four-state Kalman Filter and continuously generates motion commands through a PD controller to drive a four-wheel omnidirectional Mecanum platform.

Unlike a conventional vision tracker, AODAS is designed as a complete robotics system that integrates sensing, estimation, decision making and actuation in real time.


Technical Specifications

Category Specification
Compute Raspberry Pi 5
Camera 170° Wide-Angle Camera
Programming Language Python
Vision OpenCV
Detection HSV Segmentation + Dual-Tier Contour Detection
State Estimation 4-State Kalman Filter
Motion Control PD Controller
Mobility Four-Wheel Omnidirectional Mecanum Drive
Motor Drivers Dual L298N
Processing Speed ~60 FPS

Project Highlights

  • Real-time computer vision pipeline
  • Dual-tier contour detection for robust target localisation
  • Predictive target tracking using a Kalman Filter
  • Closed-loop PD motion controller
  • Omnidirectional Mecanum drive platform
  • Lost-target recovery through state prediction
  • Raspberry Pi 5 embedded implementation
  • Thermal monitoring for reliable operation

System Architecture

The system is divided into four functional stages:

  1. Perception
  2. State Estimation
  3. Motion Control
  4. Motor Actuation

This separation simplifies debugging, maintenance and future upgrades.


Software Pipeline

Every frame passes through the following stages:

  1. Frame Acquisition
  2. HSV Colour Conversion
  3. Colour Thresholding
  4. Morphological Filtering
  5. Dual-Tier Contour Detection
  6. Ball Localisation
  7. Kalman Prediction
  8. Position Error Computation
  9. PD Control
  10. Motor Command Generation

Finite State Machine

The robot continuously transitions between initialization, searching, tracking, prediction and autonomous navigation. If the target is temporarily lost, the Kalman Filter maintains short-term prediction before the system returns to search mode.


Engineering Design Decisions

HSV Colour Space

HSV segmentation provides improved robustness to illumination changes while simplifying colour thresholding.

Kalman Filter

The Kalman Filter predicts target motion, smooths noisy measurements and maintains tracking during temporary detection loss.

PD Controller

A PD controller provides fast response with minimal oscillation, making it well suited for real-time vision-guided robotics.

Omnidirectional Mecanum Drive

Mecanum wheels allow independent motion along both axes without requiring robot reorientation, improving interception efficiency.


Hardware Configuration

  • Raspberry Pi 5
  • 170° Wide-Angle Camera
  • Four DC Motors
  • Four Mecanum Wheels
  • Dual L298N Motor Drivers
  • Portable Battery Pack

Gallery


Getting Started

Clone the repository:

git clone https://github.com/GargeyaOHKO/AODAS.git
cd AODAS

Install dependencies:

pip install -r requirements.txt

Run the application:

cd raspberry_pi
python main.py

Note: The project is intended to run on a Raspberry Pi 5 with the Picamera2 library and the required motor driver hardware.


Future Improvements

Future versions of AutoLocker could include:

  • Deep learning based object detection
  • Multi-object tracking
  • ROS 2 integration
  • SLAM-assisted navigation
  • Adaptive control algorithms
  • Raspberry Pi AI accelerator integration

Author

Gargeya Parab

Incoming M.S. Electrical and Computer Engineering Intelligent Systems, Robotics, and Control (ISRC) University of California San Diego


License

This project is released under the MIT License.

About

Autonomous Object Detection & Acquisition System using Raspberry Pi 5, Computer Vision, Kalman Filtering, PD Control and Omnidirectional Mecanum Drive.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages