Code Monkey home page Code Monkey logo

drivingschool's Introduction

DrivingSchool

DrivingSchool is a lightweight web-based 3D simulator.It is aimed at verifying reinforcement learning algorithms for autonomous vehicles quickly.

DrivingSchool是一个轻量级的web 3D仿真软件,目标是实现无人车强化学习算法的快速验证。。

Shot

Examples

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.

Requirements

  • WebGL is supported on your web browser

Preparation

  1. Install the python web framework - tornado:

    pip install tornado

  2. Install the deep learning platform - pytorch from https://pytorch.org/get-started/locally/

  3. Install the visualization tool - visdom:

    pip install visdom

  4. Download the codes of DrivingSchool:

    git clone https://github.com/Tumiz/DrivingSchool.git

Run

  1. Open a terminal in any directory and run command:

    visdom

  2. Open an another terminal in the folder of DrivingSchool and run command:

    python server.py

Operations

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

drivingschool's People

Contributors

tumiz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.