Control Barrier Functions Explained: Safety Filters for Robot Control

How Control Barrier Functions work: the safe-set math, the CBF-QP safety filter formula, a worked wall-stopping example with Python code, high relative degree and HOCBFs, and where the forward-invariance guarantee breaks down.

In this article

  • Common Mistakes