GithubHelp home page GithubHelp logo

fangyuedong / cbf-clf-helper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hybridrobotics/cbf-clf-helper

0.0 1.0 0.0 1.38 MB

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

MATLAB 98.25% M 1.75%

cbf-clf-helper's Introduction

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.

cbf-clf-helper's People

Contributors

choijangho avatar bikezhang106 avatar vkotaru avatar

Watchers

James Cloos 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.