Skip to content

EhsanSabouni/CDC2024_RL_adpative_MPC_CBF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reinforcement Learning-based Adaptive Control Barrier Functions using Receding Horizon Control for Safety-Critical Systems

License

The repository contains the simulation code for the paper "Reinforcement Learning-based Adaptive Control Barrier Functions using Receding Horizon Control for Safety-Critical Systems" accepted at CDC 2024 [paper].

Table of Contents

Compatibility

This code has been tested on Ubuntu 22.04. Although there should be no difficulty with running it on windows 10+

Installation

Please setup the conda environment by running the following command.

conda env create -n envName -f environment.yml

Then download/clone the repository.

About

We have proposed a control method based on RHC using MPC with CBFs which can provably guarantee safety in safety-critical control systems. alt text

Results

This is the video of the simulation results presented in the paper as a concept of proof for feasiblity improvement.

To generate the numerical results shown in the table I for the proposed approach, please run the following command.

python train_RL_env_MPC_AV.py method=RL_MPC_CBF

To generate the results for the baseline case you need specify modes with which you can run the experiments, conservative, moderately conservative, moderately aggressive, aggressive denoted by 'c', mc,'ma','a' in the code. For example in order to run the baseline-conservative, the following command has to be run:

python train_RL_env_MPC_AV.py method=baseline type=c

Please note that all the runs can be with or without visualization (the default is with Visualization). To disable visualization the following command can be run:

python train_RL_env_MPC_AV.py render_mode=None

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributors

Thanks to the following people who have contributed to this project:

About

CDC2024_submission_repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages