This repository contains the instructions to setup and run OTS-Artery.
- Install docker for Windows and test it using the following code:
docker ps
-
Git Clone the Artery project located at https://github.com/riebl/artery.git
-
Move to artery folder with contains the 'Dockerfile':
cd artery
- Now execute the following code:
git submodule update --init --recursive
- Build the docker image using the following code:
docker build --tag docker-artery
- Display the docker images using the following code:
docker images
We should be able to see the 'docker-artery' image.
OpenTrafficSim (OTS) can be setup by following the instructions. For further help with designing and running a traffic simulation case, please refer to the user manual of OpenTrafficSim.
- Navigate to Artery directory and launch the CACC configuration of Artery by running the following command:
docker run -it --mount type=bind,source=$PWD/scenarios/ots-demo,target=/scenario --net host docker-artery -c cacc
- Open a new terminal window and run the traffic simulation instance either directly from eclipse or using a jar file.