{"id":15716392,"url":"https://github.com/hybridrobotics/cbf-clf-helper","last_synced_at":"2025-10-06T02:49:44.138Z","repository":{"id":41352376,"uuid":"289377747","full_name":"HybridRobotics/CBF-CLF-Helper","owner":"HybridRobotics","description":"Matlab Interface for Control Barrier Function (CBF) and Control Lyapunov Function (CLF) based control methods.","archived":false,"fork":false,"pushed_at":"2024-06-30T23:09:51.000Z","size":1393,"stargazers_count":314,"open_issues_count":5,"forks_count":68,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-25T19:09:25.247Z","etag":null,"topics":["cbf","clf","control-barrier-functions","control-lyapunov-functions","control-theory","matlab","safety-critical"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HybridRobotics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-21T22:35:35.000Z","updated_at":"2025-05-23T06:48:04.000Z","dependencies_parsed_at":"2024-10-24T13:09:50.527Z","dependency_job_id":"7c6f76a0-0565-40c7-b1ed-c89e5d76cb51","html_url":"https://github.com/HybridRobotics/CBF-CLF-Helper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HybridRobotics/CBF-CLF-Helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HybridRobotics%2FCBF-CLF-Helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HybridRobotics%2FCBF-CLF-Helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HybridRobotics%2FCBF-CLF-Helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HybridRobotics%2FCBF-CLF-Helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HybridRobotics","download_url":"https://codeload.github.com/HybridRobotics/CBF-CLF-Helper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HybridRobotics%2FCBF-CLF-Helper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278551495,"owners_count":26005388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cbf","clf","control-barrier-functions","control-lyapunov-functions","control-theory","matlab","safety-critical"],"created_at":"2024-10-03T21:45:24.789Z","updated_at":"2025-10-06T02:49:44.097Z","avatar_url":"https://github.com/HybridRobotics.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CBF-CLF-Helper\nMatlab library 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:\n- An easy interface for construction and simulation of nonlinear control-affine systems.\n- Safety controllers including CLF-QP, CBF-QP, and CBF-CLF-QP as built-in functions.\n- Demonstrations on toy examples.\n\n\n### Requirements\n- Matlab\n- [Symbolic Math Toolbox](https://www.mathworks.com/products/symbolic.html)\n\n### Usage\n1. Create a class that inherit `CtrlAffineSys`.\n2. Create a class function `defineSystem` and define your dynamics using the symbolic toolbox.\n3. Create class functions `defineClf` and `defineCbf` and define your CLF and CBF in each function respectively using the same symbolic expressions.\n4. 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.\n\nPlease checkout the [Manual](https://github.com/HybridRobotics/CBF-CLF-Helper/blob/master/Manual_v1.pdf) for more details.\n\n### Demos\nRun files in the directory `demos` in Matlab.\n\n### Citation\n```\n@misc{choi2020cbfclfhelper,\n  author       = {Jason J. Choi},\n  title        = {CBF-CLF-Helper 1.0: Library for Control Barrier Function (CBF) and Control Lyapunov Function (CLF) based control methods},\n  year         = {2020},\n  version      = {1.0.0},\n  url          = {https://github.com/HybridRobotics/CBF-CLF-Helper}\n}\n```\n\n### Notes\nUnofficial 2.0 version is under development at [this repo](https://github.com/ChoiJangho/CBF-CLF-Helper).\nIf you want to see new demos, please check out this [folder](https://github.com/ChoiJangho/CBF-CLF-Helper/tree/feedback_linearization/demos).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhybridrobotics%2Fcbf-clf-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhybridrobotics%2Fcbf-clf-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhybridrobotics%2Fcbf-clf-helper/lists"}