Giter Site home page Giter Site logo

jeffrey28 / auto-driving-tsinghua Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bailiumit/auto-driving-tsinghua

4.0 1.0 0.0 2.8 MB

Bai Liu's bachelor thesis project, on optimizing control strategies of auto-driving vehicles at crossroads

MATLAB 100.00%

auto-driving-tsinghua's Introduction

Intersection Routing Strategy for Self-driving Vehicles

Welcome! This project is created by Bai Liu.

How to manipulate?

  1. Open MATLAB
  2. Locate "Current Folder" of MATLAB to where the source codes are
  3. Run aimed part(s) by editting "Main.m" (adding or removing relevant comments)
  4. Adjust parameter(s) in "InitializeGlobal.m"
  5. Run "Main.m"

Structure of the system

The project has three optimization objects: left-turning strategy in single-agent case, left-turning strategy in multi-agent case, and traffic signal display strategy. Besides, several files serve as supporting tools.

  1. Console

    "Main.m": core console, the control center

    "InitializeGlobal.m": define and initialize global variables, including parameters of vehicles, road structure and simulation method

  2. Optimization on left-turning strategy in single-agent case

    We adopt Q-Learning method here.

    "OptSingleTurning.m": algorithmic implementation of Q-learning

    "CalAction.m": calculates possible future states for a given state in Q-learning, to assist "OptTurning.m"

    "TestSingleTurning.m": helps to illustrate the training result

  3. Optimization on left-turning strategy in multi-agent case

    To be implemented.

  4. Optimization on traffic signal display strategy

    We adopt SA (simulated annealing), GA (genetic algorithm) and PSO (particle swarm optimization) here.

    "OptSignal.m": Implement SA, GA and PSO

  5. Investigation on how multiple factors impact the optimization effect

    To be implemented.

  6. Miscellaneous

    "XroadSimulation.m": simulate the traffic conditions of the intersection for a given amount of time

    "CalVehicleNum.m": calculate the number of vehicle(s) to be geneerated in a given amount of time

    "GenerateVehicle.m": generate vehicle objects

auto-driving-tsinghua's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.