• Stars
    star
    243
  • Rank 166,489 (Top 4 %)
  • Language
    MATLAB
  • Created over 4 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Matlab Interface for Control Barrier Function (CBF) and Control Lyapunov Function (CLF) based control methods.

CBF-CLF-Helper

Matlab Interface for Control Barrier Function (CBF) and Control Lyapunov Function (CLF) based control methods. The library is designed to let users easily implement safety controller based on CBFs and CLFs with Matlab. We provide:

  • An easy interface for construction and simulation of nonlinear control-affine systems.
  • Safety controllers including CLF-QP, CBF-QP, and CBF-CLF-QP as built-in functions.
  • Demonstrations on toy examples.

Requirements

Usage

  1. Create a class that inherit CtrlAffineSys.
  2. Create a class function defineSystem and define your dynamics using the symbolic toolbox.
  3. Create class functions defineClf and defineCbf and define your CLF and CBF in each function respectively using the same symbolic expressions.
  4. To run the simulation or run the controller, create a class instance with parameters specified as a Matlab structure array, and use the built-in functions—dynamics and other controllers such as ctrlCbfClfQp, ctrlClfQp, etc.

Please checkout the Manual for more details.

Demos

Run files in the directory demos in Matlab.

More Repositories

1

GenLoco

Python
226
star
2

NMPC-DCLF-DCBF

A collection of work using nonlinear model predictive control (NMPC) with discrete-time control Lyapunov functions (CLFs) and control barrier functions (CBFs)
MATLAB
205
star
3

MPC-CBF

"Safety-Critical Model Predictive Control with Discrete-Time Control Barrier Function" by J. Zeng, B. Zhang and K. Sreenath https://arxiv.org/abs/2007.11718
199
star
4

car-racing

A toolkit for testing control and planning algorithm for car racing.
Python
164
star
5

cbf

An open source repository for control, planning and navigation about control barrier functions.
Python
153
star
6

Lane-Change-CBF

Rule-Based Safety-Critical Control Design with Application to Autonomous Lane Change https://arxiv.org/abs/2103.12382
MATLAB
88
star
7

quadruped_nmpc_dcbf_duality

C++
83
star
8

prompt2walk

Code for Prompt a Robot to Walk with Large Language Models https://arxiv.org/abs/2309.09969
Python
78
star
9

isaac_berkeley_humanoid

Python
45
star
10

multiple-quadrotor-flexible-hose

Multiple quadrotors carrying a flexible hose: dynamics, differential flatness and control
MATLAB
37
star
11

CBF-Pointwise-Feasibility

"Safety-Critical Control using Optimal-decay Control Barrier Functions with Guaranteed Point-wise Feasibility" by J. Zeng, B. Zhang, Z. Li and K. Sreenath https://arxiv.org/pdf/2103.12375.pdf
MATLAB
25
star
12

berkeley_humanoid_description

OpenSCAD
16
star
13

ilqr-iterative-tasks

i2LQR: Iterative LQR for Iterative Tasks in Dynamic Environments (CDC 2023) https://arxiv.org/abs/2302.14246
Python
15
star
14

geometric-toolbox

Contains all the functions (such as hat map, rotations, transport map, etc.) used during the development of geometric mechanics and control of robotic systems.
MATLAB
15
star
15

Quad-Load

Geometric control and differential flatness of a quadrotor UAV with a cable-suspended load.
MATLAB
9
star
16

PPQL

Differential flatness based path planning with direct collocation on hybrid modes for a quadrotor with a cable-suspended payload (RA-L 2020)
MATLAB
6
star
17

dynamics_on_manifolds

Symbolic Computation of Dynamics on Smooth Manifolds
Scala
5
star
18

vo-polytope

Velocity Obstacle for Polytopic Collision Avoidance for Distributed Multi-Robot Systems (RA-L 2023)
Python
5
star
19

Quad-Load-Pulley

"Geometric Control and Differential Flatness of a Quadrotor UAV with Load Suspended from a Pulley" by J. Zeng, P. Kotaru and K. Sreenath https://ieeexplore.ieee.org/document/8815173
MATLAB
5
star
20

ball-and-beam-project

EE222/ME237 Nonlinear Systems, Spring 2022, Starter code for the course project.
MATLAB
4
star
21

Quad-Load-Offset

"Geometric Control of a Quadrotor with a Load Suspended from an Offset" by J. Zeng and K. Sreenath https://ieeexplore.ieee.org/document/8814939
MATLAB
3
star
22

depth_cbf

Point Cloud-Based Control Barrier Function Regression for Safe and Efficient Vision-Based Control
2
star