This project is a simulation of autonomous bots navigating a warehouse environment using the A* algorithm for pathfinding. The simulation is built using Python and Tkinter for the graphical interface. Bots are assigned starting and goal positions, and the environment can be customized with obstacles. The simulation demonstrates the efficient movement of bots while avoiding collisions with obstacles and each-others.
ChaiCode/
├
├── .gitignore # Ignore file for GitHub
├── main.py # Main Python code file
├── requirement.txt # Dependencies and scripts/library
└── README.md # Project documentation- Customizable Grid: Define grid size and place obstacles.
- Multiple Bots: Set starting and ending positions for multiple bots.
- Pathfinding: A* algorithm for shortest pathfinding.
- Collision Avoidance: Bots avoid each other during movement.
- Real-time Visualization: Displays bot movement in real-time on the GUI.
Ensure Python is installed. Download here.
- Tkinter: Standard Python GUI package.
- NumPy: Grid management and mathematical operations.
Install dependencies using:
pip install -r requirements.txt-
Clone the repository:
git clone https://github.com/DoseHACK-24/ChaiCode.git
-
Navigate to the project directory:
cd ChaiCode -
Install dependencies:
pip install -r requirements.txt
Run the application using:
python main.py- Left Click: Place obstacles.
- Enter: Set bot start and end positions.
- Space Bar: Start the simulation.
This project is licensed under the MIT License by ChaiCode Team.
