Skip to content

This new type of robotic vacuum cleaner has quite simple reflex rules. It will autonomously perform General Cleaning, Spot Cleaning and recharge from base.

Notifications You must be signed in to change notification settings

labibdotc/AI_VaccumCleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI_VaccumCleaner

This new type of robotic vacuum cleaner has quite simple reflex rules. It will always check the battery level first. If the level is below 30%, it will plan a path to its charging base (“home”), go there, and start the docking procedure. If the battery is sufficient, it will start the function it was commanded to perform. There are two available commands:

Spot cleaning: it will perform a 20s intensive cleaning in a specific area. General cleaning: go around the room and vacuum dust until the battery falls under 30% or completes the task. If the dust sensor detects a particularly dirty spot, the robot will perform a 35s spot cleaning. The blackboard must contain at least the following elements, but you can add more if your implementation requires it:

BATTERY_LEVEL: an integer number between 0 and 100. SPOT_CLEANING: a Boolean value – TRUE if the command was requested, FALSE GENERAL_CLEANING: a Boolean value – TRUE if the command was requested, FALSE DUSTY_SPOT: a Boolean value – TRUE if the sensor detected a dusty spot during the cycle, FALSE HOME_PATH: The path to the docking station.

Behavior tree

Screenshot 2023-02-14 at 11 31 23 AM

Setup and run

fork the project to your github and then

git clone <https address for your repository>
cd AI_VaccumCleaner
python main.py

About

This new type of robotic vacuum cleaner has quite simple reflex rules. It will autonomously perform General Cleaning, Spot Cleaning and recharge from base.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages