GithubHelp home page GithubHelp logo

chensaijilahu / limsim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pjlab-adg/limsim

0.0 0.0 0.0 18.79 MB

LimSim: A Long-term Interactive Multi-scenario Traffic Simulator (ITSC 2023)

Home Page: https://pjlab-adg.github.io/LimSim/

License: GNU General Public License v3.0

Shell 0.09% Python 99.90% Batchfile 0.01%

limsim's Introduction

logo-full.svg

Custom badge Custom badge Custom badge Custom badge

🚀News:

  • 2023/07/26 Add the docs about co-sim with CARLA.
  • 2023/07/13 The code is now released!

LimSim

LimSim is a Long-term Interactive Multi-scenario traffic Simulator, which aims to provide a continuous simulation capability under the complex urban road network.

Quick Start

After configuring the runtime environment, download the LimSim source code to your local machine:

git clone https://github.com/PJLab-ADG/LimSim.git

Finally, you need to install the required Python extensions:

cd LimSim
pip install -r requirements.txt

Now, the local installation and deployment of LimSim are complete.

1. Real-time Sim

Real-time simulation following the Ego vehicle is the fundamental feature of LimSim. To experience it, run the following command:

python ModelExample.py

2. Simulation replay

In the root directory, running the following command will invoke LimSim's replay feature:

python ReplayExample.py

For more information of our code, please see our Online Documentation.

If you have any problem when installing and deployment, feel free to open an issue here!

🎁 Main Features

  • Long-term: Traffic flow can be generated over long periods under the guidance of demand and route planning.

  • Diversity: The built-in behavioral models take heterogeneous driving styles of vehicles into account.

  • Interactivity: Vehicles in the scenario area are controlled address sophisticated interactions among vehicles.

  • Multi-scenario: The universal road components supports a variety of road structures in the real world.

🖥️ GUI

LimSim has a cross-platform user-friendly GUI, which includes not only a beautiful simulation interface, but also information on road network and ego-vehicle status.

limsim_gui.png

🛣️ Multi-scenarios support

LimSim supports road scenarios not limited to freeways, signalized intersections, roundabouts and overpasses.

scenarios.gif

📊 Scenario Evaluation

After running a long-term simulation with all kinds of scenarios contained in it, LimSim generates a log report and extract the key scenarios via the evaluation results.

evaluation.gif

💡Co-sim with SUMO & CARLA

LimSim supports co-simulation with CARLA and SUMO, guaranteeing that all three softwares show identical vehicle status. Please see the docs for more information.

cosim.gif

➕Additional Maps

LimSim supports the freewayB and Expressway_A maps from the CitySim datasets. However, we have not included these two road network files in this library due to copyright.

To run these two maps, you need to:

  1. Go to CitySim Repo and submit the data access form.
  2. Get access to the dataset and download the .net.xml files in both the freewayB and Expressway_A data folders.
  3. Copy the road network files (.net.xml) to the relevant networkFiles/CitySim folder and ensure that your file paths are as follows:
    networkFiles/CitySim/freewayB/freewayB.net.xml
    networkFiles/CitySim/Expressway_A/Expressway_A.net.xml
    

Acknowledgments

We would like to thank the authors and developers of the following projects, this project is built upon these great projects.

Contact

If you have any suggestions or collaboration about this repo, feel free to create a issue/PR or send email to us ([email protected]).

Citation

If you use LimSim in your research , please use the following BibTeX entry.

@misc{wen2023limsim,
      title={LimSim: A Long-term Interactive Multi-scenario Traffic Simulator}, 
      author={Licheng Wen and Daocheng Fu and Song Mao and Pinlong Cai and Min Dou and Yikang Li and Yu Qiao},
      year={2023},
      eprint={2307.06648},
      archivePrefix={arXiv},
      primaryClass={eess.SY}
}

License

LimSim is released under the GNU GPL v3.0 license.

limsim's People

Contributors

zijinoier avatar fdarco 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.