Autonomous Navigation and Scanning System

Using ESP32-CAM and ROS for 2D/3D Indoor Environment Mapping

Duration:May - Nov 2023
Status:Completed
Category:Autonomous Robotics
PythonPython
ROSROS
OpenCVOpenCV
ArduinoArduino
C++C++
LinuxLinux

Project Gallery

📷

Image Placeholder 1

Add your project image here

Project image 1
📷

Image Placeholder 2

Add your project image here

Project image 2
📷

Image Placeholder 3

Add your project image here

Project image 3
📷

Image Placeholder 4

Add your project image here

Project image 4

Project Overview

An innovative robotics project that combines embedded systems, computer vision, and autonomous navigation to create an intelligent indoor mapping solution. The system autonomously explores indoor environments, detecting and avoiding obstacles while simultaneously capturing real-time video footage to construct detailed 2D grid maps and 3D environmental models.

Developed at Sathyabama Institute of Science and Technology, Department of Electronics and Communication Engineering, this project demonstrates the integration of affordable components like ESP32-CAM and Arduino with powerful frameworks like ROS to achieve sophisticated navigation and environmental modeling capabilities.

Technical Architecture

Camera Node

ESP32-CAM module handles real-time video streaming and converts footage into formats suitable for computer vision processing

Navigation Node

Processes sensor data from ultrasonic/infrared sensors to detect obstacles, plan paths, and send motor commands

Mapping Node

Continuously updates 2D grid map and builds 3D environmental reconstructions based on robot movements

Hardware Components

  • â–¸ESP32-CAM: Video capture with integrated WiFi transmission
  • â–¸Arduino Uno: Motor control and sensor data processing
  • â–¸Ultrasonic/IR Sensors: Obstacle detection (10-200cm range)
  • â–¸Motor Driver & DC Motors: Precise mobility control
  • â–¸Custom Chassis: Houses all electronic components

Software Stack

  • â–¸Python (OpenCV, NumPy): Computer vision & image processing
  • â–¸ROS: System integration and inter-process communication
  • â–¸Arduino C/C++: Microcontroller programming
  • â–¸SLAM Algorithms: Simultaneous localization and mapping
  • â–¸Sensor Fusion: Multi-sensor data integration

Core Features & Capabilities

Autonomous Navigation

Intelligent path planning with real-time obstacle detection and dynamic trajectory adjustment using multi-sensor fusion

Real-Time Processing

ESP32-CAM streams video at 15-30 FPS with Python-based OpenCV pipelines for frame-by-frame spatial analysis

2D Grid Mapping

Occupancy grid representation of explored space with free/occupied/unexplored cell classification

3D Reconstruction

Computer vision-based 3D modeling using feature detection, stereo principles, and structure-from-motion

Performance Specifications

10-200cm
Detection Range
15-30 FPS
Video Streaming
1-2 hours
Operation Duration
Configurable grid
Mapping Resolution

Technical Challenges & Solutions

âš¡ Camera Quality Constraints

✓ Implemented adaptive image enhancement algorithms and optimized lighting conditions for ESP32-CAM limitations

âš¡ Limited Field of View

✓ Strategic movement patterns with multiple-pass scanning for comprehensive environment coverage

âš¡ Sensor Accuracy Variations

✓ Multi-sensor fusion combining ultrasonic and infrared data for improved reliability

âš¡ Power Management

✓ Balanced performance with energy efficiency through selective processing and intelligent sleep modes

Real-World Applications

Indoor Mapping

Accurate floor plans of buildings and facilities

Security & Surveillance

Autonomous patrol and monitoring systems

Inventory Management

Warehouse layout scanning and optimization

Emergency Response

Exploring hazardous environments safely

Smart Homes

Learning and adapting to residential layouts

Research & Education

Platform for robotics and AI learning

Future Enhancements

→LiDAR integration for enhanced depth perception
→ML-based object recognition and classification
→Multi-robot coordination for faster coverage
→Improved 3D reconstruction algorithms
→Extended battery life with solar charging
→Cloud connectivity for remote monitoring

Interested in This Project?

This project demonstrates advanced robotics, computer vision, and autonomous systems integration. Feel free to reach out for collaboration or technical discussions.