DrivingSchool is a lightweight web-based 3D simulator.It is aimed at verifying reinforcement learning algorithms for autonomous vehicles quickly.
DrivingSchool是一个轻量级的web 3D仿真软件,目标是实现无人车强化学习算法的快速验证。。
An AI controlled vehicle run along axis x's direction, and find a way to arrive the point of (30,0) from any position on the axis x. You can see video for details.
- WebGL is supported on your web browser
-
Install the python web framework - tornado:
pip install tornado
-
Install the deep learning platform - pytorch from https://pytorch.org/get-started/locally/
-
Install the visualization tool - visdom:
pip install visdom
-
Download the codes of DrivingSchool:
-
Open a terminal in any directory and run command:
visdom
-
Open an another terminal in the folder of DrivingSchool and run command:
python server.py
Wanted | Key |
---|---|
Create a car | Ctrl + Mouse Left Click |
Choose a car | Mouse Left Click on the car |
Acceleration | W |
Deceleration | S |
Turn Left | A |
Turn Right | D |
Stop simulation | Click the Button Stop |
Reset all to origin | Click the Button Reset |
Reconnect to the server | Click the Button Start |