This repository contains scripts for running robust control simulations and experiments on pendulum, quadrotor, and rocket systems.
- Python 3.11+
- Required packages: see
requirements.txt - Some scripts may require additional solvers (e.g., IPOPT)
# Create a virtual environment (in folder .venv)
python -m venv .venv
# Activate the virtual environment
# On Linux/macOS:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate
# Install dependencies:
pip install -r requirements.txtRun the script corresponding to your system to generate the necessary solvers:
python solver/generate_osqp_rockETH.pyThen, install:
cd build/osqp_fast && python -m pip install --use-pep517 . && cd ../..Warning: Always make sure to regenerate the solvers if you run new experiments. In particular, no error will be thrown if you use a solver on the wrong problem.
Most of the scripts starting with main_ are used to run experiments. Options can be specified via command-line arguments. For example:
python main_rocket_robust_closed_loop.py --runFor instance, you can plot the results of the last experiment using:
python main_rocket_robust_closed_loop.py- All scripts save results in their respective output folders. The corresponding plot function will retrieve the last saved data and plot it.

