Giter Site home page Giter Site logo

marinbao / carla-gui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from centuryliu/carla-gui

0.0 0.0 0.0 195.05 MB

GUI tool for creating simulation scenarios with Carla simulator

Home Page: https://carla-gui.readthedocs.io/en/latest/

Python 35.14% HTML 64.86%

carla-gui's Introduction

Carla-GUI

GUI tool to help human-vehicle interaction researchers design and conduct traffic experiments with CARLA real-time driving simulator.

Instructor

Team Members

Summer Team (created Version 0.00 in summer 2020)

Fall Team

Project Purpose

The CARLA simulator is a powerful open source tool developed to "support development, training, and validation of autonomous driving systems" (introduction, CARLA Simulator). To properly utilize the powerful functionality provided by the CARLA simulator, however, users need to have:

  • an in depth understanding about the function provided by the simulator
  • basic knowledge about vehicle control
  • basic knowledge about python

Meeting all these requirements is definitely not easy for begining researchers in the field of human-vehicle interaction. To make life easier for those researchers, a simple GUI has been developed, which provides an interface for users to create and conduct experiments using the CARLA simulator.

Function introduction

Our simulator allows users to create both urban and freeway simulation scenarios.

gui start page

The start page of the gui, with choices for editing both urban(intersection) and freeway simulation scenarios.

Urban simulation

The GUI for urban simulation is still under development, documents will soon be available.

Here is a demo of back end function for the Urban GUI:

urban add vehicle

add vehicles inside the urban simulation environment

urban simulation start

simulation starts inside the CARLA enviroment

For more information about urban simulation scenario, see urban back end

To view the full process of creating and conducting an urban simulation, please refer to urban demo video

Freeway simulation

The GUI for freeway simulation is still under development, documents will soon be available.

Here is a demo of back end function for the Freeway GUI:

freeway add vehicle

add vehicles inside the freeway simulation environment

freeway simulation snapshort

demo of freeway simulation

For more information about urban simulation scenario, see freeway back end

To view the full process of creating and conducting an urban simulation, please refer to freeway demo video

Installation

  • step 1: download this repository and put it to your desired location on your device (currently support windows and linux)
  • step 2: follow instructions on PyQt5 website to install PyQt5, which is the tool we used to create the GUI. Note: if you have PyQt5 pre-installed, make sure the version is >= 5.15.0
  • step 3: follow instructions on back end installation guide to install tools essential for the back end.

Usage

  • open a Python terminal inside the gui_interface folder, enter

      python gui_test.py
    
  • Some reminders: (1) In Freeway mode, remember entering any section at least once, otherwise FreeWayenv might fail to be detected. (2) In Intersection mode, remember to enter the first intersection and spawn ego vehicle. Otherwose some errors will happen.

Data Collection

For now, data collection feature can be enabled/disabled by changing boolean values 'RECORD_ENABLE' in intersection_backend.py and 'self.RECORD_ENABLE' in section_environment.py

Note for now data_collection feature might make carla slower. Some optimizations need to be made soon.

Tutorial video

Poster

Poster

The poster briefly describing the project

-- SIM team

carla-gui's People

Contributors

centuryliu avatar grantbarry29 avatar targy avatar nihar-joshi avatar jeffchen006 avatar atforche avatar jhyeongk 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.