Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Final project for the subject of Autonomous Networks and Systems of the University of Aveiro

Notifications You must be signed in to change notification settings

jtsimoes/smart-city-waste-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart City Waste Management

Final project for the subject of Autonomous Networks and Systems of the University of Aveiro.


Demo video

About

This project aims to implement an autonomous waste management system, where garbage containers are monitored by sensors and the routes of the different garbage trucks are optimized in real-time by an algorithm, instead of being the same every day.

This allows garbage trucks to be more efficient and reduce the time spent on the road, as well as the fuel consumption and the CO2 emissions.

Dependencies

Installation

Vanetza containers

To start all docker containers of Vanetza, open a terminal window on the root of this project and run the following commands:

cd script
sudo docker-compose up --build

Do not close this terminal window.

Dashboard

To start the dashboard, open a new terminal and run the following commands:

cd dashboard
python3 main.py

Do not close this terminal window. The dashboard server should be running on http://localhost:8000/.

OBU script

To start the OBU script, open a new terminal and run the following commands:

cd script
python3 obu.py

Do not close this terminal window.

RSU script

To start the RSU script, open a new terminal and run the following commands:

cd script
python3 rsu.py

Do not close this terminal window.

Sensor simulator

To start the sensor simulator, open a new terminal and run the following commands:

cd sensor
python3 sensor_simulator.py

As soon as the garbage containers start filling up, the trucks will start moving to them and their routes will appear on the dashboard map.

Configuration

Some parameters of this project can be modified, namely:

The sensor data (garbage containers fill percentage) can also be changed in real-time manually, by changing the respective line on the sensor/sensor_data.txt file, instead of using the sensor simulator script.