Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: springer.com, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.2%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: PiggyMouth
  • Language: Python
  • Default Branch: main
  • Size: 515 MB
Statistics
  • Stars: 8
  • Watchers: 1
  • Forks: 3
  • Open Issues: 1
  • Releases: 1
Created over 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme Citation

README.md

DOI

MPC-CBFforADS

The source codes for the work "Robust Safe Control for Automated Driving Systems With Perception Uncertainties" are listed here. You can also read more about this project by Yan Feng Yu here.

Simulation results are shown in the folder sim_output (at the moment when Kalman filter is placed after the control action).

The scripts: * acc_with_cbf_mpc.py simulate the case without any perception noise present * acc_with_cbf_mpc_noise.py simulates the case with perception noise present * acc_with_cbf_mpc_kf.py simulates with Kalman filter placed before the control action to handle the perception noise

Carla

The simulation is performed using Carla simulator version 0.9.12 with Python version 3.6.

Scenarios

The scenario is based on Scenario runner, an module provided by CARLA.

The autonomous agents are based on KeyingLucyWang's repository SafeReconfigurationScenarios.

The simulation provided here is tested and validated on scenario: FollowLeadingVehicle_5.

Perception noise model

The perception noise model based on the computed distance by a CNN model during salt and pepper noise is stored in differences.save.

Getting started

To run the simulation, begin with launching CARLA (CarlaUE4.sh or CarlaUE4.exe).

Next, open two terminals where you export the following path that suits your own computer (according to Scenario runner: Getting started): export CARLA_ROOT=/path/to/your/carla/installation export SCENARIO_RUNNER_ROOT=/path/to/your/scenario/runner/installation export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla/dist/carla-<VERSION>.egg export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla In my computer where Windows version of CARLA is used, it becomes: set CARLA_ROOT=C:\Users\Admin\Simplepath\IL2232\CARLA_0912\WindowsNoEditor set SCENARIO_RUNNER_ROOT=C:\Users\Admin\Simplepath\Exjobb\MPC-CBF_for_ADS set PYTHONPATH=%PYTHONPATH%;%CARLA_ROOT%\PythonAPI\carla\dist\carla-0.9.12-py37-win-amd64.egg set PYTHONPATH=%PYTHONPATH%;%CARLA_ROOT%\PythonAPI\carla\agents set PYTHONPATH=%PYTHONPATH%;%CARLA_ROOT%\PythonAPI\carla set PYTHONPATH=%PYTHONPATH%;%CARLA_ROOT%\PythonAPI set PYTHONPATH=%PYTHONPATH%;%CARLA_ROOT%\PythonAPI\carla\agents\navigation set PYTHONPATH=%PYTHONPATH%;%CARLA_ROOT%\PythonAPI\carla\agents\tools In the first terminal, enter the command: python scenario_runner.py --scenario FollowLeadingVehicle_5 --reloadWorld.
In the second terminal, enter the python script name that you want to run i.e.: python acc_with_cbf_mpc_kf.py.

You will now see a pygame window with the scenario running. To run it again, simply enter the aforementioned commands again.

The figures in the folder sim_output stores the case when N = 6, 8, 12. For respective case, T is preferred to be T = 12, 8, 8.

Owner

  • Login: PiggyMouth
  • Kind: user

GitHub Events

Total
Last Year