Getting Started β
This guide will help you set up, build, and run the Waste Collection Simulation project.
Prerequisites β
Make sure you have the following installed on your system:
C++
g++
(C++ compiler)make
ncurses
library
On Debian/Ubuntu-based systems, you can install the required dependencies using:
bash
sudo apt update
sudo apt install g++ make libncurses5-dev libncursesw5-dev
π Project Structure β
Hereβs what the project directory looks like:
bash
week1/IT Pole/
βββ Environment/
β βββ map.txt
βββ include/
β βββ CollectorRobot.hpp
β βββ Core.hpp
β βββ Error.hpp
β βββ ncurses.hpp
β βββ Parser.hpp
β βββ Robot.hpp
β βββ SorterRobot.hpp
βββ main.cpp
βββ Makefile
βββ src/
βββ CollectorRobot.cpp
βββ Core.cpp
βββ Ncurses.cpp
βββ Parser.cpp
βββ Robot.cpp
βββ SorterRobot.cpp
How to Build and Run β
- Clone (if you have access) and navigate into the repository:
bash
git clone git@github.com:TekBot-Robotics-Challenge/2025-Team-Epibot-Code.git
cd week1/IT\ Pole/
- Build the project:
bash
make
This will compile all .cpp files in src/ using the headers in include/ and output an executable.
- Run the simulation:
bash
./robot Environment/map.txt
Replace Environment/map.txt
with the path to your custom map file if needed.
Notes
: β
Ensure the map file exists and is formatted correctly.
The terminal window should be large enough for proper Ncurses rendering.
To stop the simulation, press
Q
orCtrl+C
.
If you experience any issues, consult the source files or refer to the Project Demo page for more context.