Skip to content

DFanny-5/ETC-platoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Event-Trigger-Control (ETC) on vehicle platoon

Required libraries

Tensorflow 1.X (please download the 1.X version to run the code)
How to install tensorflow with pip in the terminal: https://www.tensorflow.org/install/pip

OpenAI Gym
Instruction for downloading OpenAI Gym: https://gym.openai.com/docs/

Preparation

  1. The two seperate .py file car_racing.py and car_dynamic.py are used to repalce the original car_racing.py and car_dynamic.py in OpenAI/gym/envs/box2d (The location is the place where the OpenAI Gym is downloaded to on your PC)

  2. Open the Terminal on your PC and choose to the file by using

cd ddpg

and then type in the following operation to start the test

./run_etc.sh

Change the save path of the log

The two files car_racing.py and car_dynamic.py should be used to repalce the ar_racing.py and car_dynamic.py in the OpenAI/gym/envs/box2d.

#Then can use : ./run_etc.sh in the ddpg file to run the test.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published