Git Product home page Git Product logo

intent-aware-control's Introduction

Intention-Aware Control Facilitated by Polynomial Chaos Expansion

The benchmark of using polynomial chaos expansion (PCE) to solve intention-aware control of autonomous vehicles.

Release

It is suggested to download the release branch or the releases for a cleaned up version.

Requirements

Operating system

  • Windows (compatible in general, succeed on 11)
  • Linux (compatible in general, succeed on 20.04)
  • MacOS (compatible in general, succeed on 13.4.1)

Python Environment

  • Python 3.11
  • Required Packages: numpy, numpoly, scipy, treelib, matplotlib, importlib-metadata.

Required Libraries

Quick Installation

  1. Install conda following this instruction;

  2. Open the conda shell, and create an independent project environment;

conda create --name intentaware python=3.11
  1. In the same shell, activate the created environment
conda activate intentaware
  1. In the same shell, within the intentaware environment, install the dependencies one by one
conda install -c anaconda numpy
conda install -c conda-forge numpoly
conda install -c anaconda scipy
conda install -c conda-forge treelib
conda install -c conda-forge matplotlib
conda install -c conda-forge importlib_metadata
  1. In the same shell, within the intentaware environment, install the libraries gurobipy, stlpy, and chaospy:
python -m pip install gurobipy
pip install stlpy
pip install chaospy
  1. Last but not least, activate the gurobi license (See How To). Note that this project is compatible with gurobi Released version 11.0.1. Keep your gurobi updated in case of incompatibility.

Run Examples

  • Lead to the example directory;
  • Lead to the overtaking or the intersection folder;
  • Run the main script main.py;
  • Rendering constraints may take up to 1 to 2 minutes, depending on the computational performance;
  • Plotted figures automatically saved in the data subfolder.

Special visualization functions

If using config/record function, be sure to install ffmpeg first and make sure its installation folder shows up in the PATH environmental variable.

License

This project is with a BSD-3 license, refer to LICENSE for details.

intent-aware-control's People

Contributors

zhang-zengjie avatar bandfourteen avatar

Stargazers

Manasvi Saxena 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.