cleaningrobotpy

CleaningRobotPy πŸš€πŸ€–

CleaningRobotPy is an autonomous cleaning robot that moves in a room, detects obstacles, and cleans dust from the floor using a built-in cleaning system. It is equipped with sensors and motors that allow it to navigate and operate efficiently.

πŸ“Œ Features

πŸ› οΈ How It Works

  1. When powered on, the robot activates its cleaning system and starts moving.

  2. It follows movement commands from the Route Management System (RMS).

  3. If it encounters an obstacle, the infrared sensor detects it and adjusts movement accordingly.

  4. The battery sensor (IBS) continuously monitors battery charge.

  5. If the charge is too low, the recharge LED turns on, signaling that it needs to be recharged.

  6. The room is represented as a rectangular grid where the RMS keeps track of obstacles and the robot’s position.

βš™οΈ Components & Sensors

πŸš€ Installation & Usage

  1. Clone the repository:
    git clone https://github.com/yourusername/cleaningrobotpy.git
    cd cleaningrobotpy
    
  2. Install dependencies (if needed):
    pip install -r requirements.txt
    
  3. Run the simulation:
    python cleaning_robot.py
    

πŸ“œ License

This project is licensed under the MIT License.

πŸš€ Developed for both real-world and simulation environments.