Skip to content

Lane merge simulation exchanging ITS-G5 messages with a simple merge decision process.

Notifications You must be signed in to change notification settings

dot-1q/Lane_Merge_Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lane Merge Simulator using Vanetza to exchange ITS-G5 messages

DEMO

alt text

How to install

Make sure you have the latest NAP-Vanetza docker image. You can get it here. Note that the tag you give it upon installing it, need's to be the same that's on the docker-compose.yml file. In this case, we built it with the tag vanetza:lane_merge

  1. Clone this repository
git clone https://github.com/dot-1q/Lane_Merge_Simulator.git
cd Lane_Merge_Simulator
  1. Create a virtual environment (venv)
python3 -m venv venv
  1. Activate the virtual environment (you need to repeat this step, and this step only, every time you start a new terminal/session):
source venv/bin/activate
  1. Install the requirements:
pip3 install -r requirements.txt

How to run

python3 web_app/main.py

Before launching the localhost web page, make sure you have the OBU's and RSU's containers running

On a NEW a new terminal window but still inside the repo's directory

cd web_app/simulation/
docker-compose up 

To kill the docker-compose, simply CTRL+C

About

Lane merge simulation exchanging ITS-G5 messages with a simple merge decision process.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published