Given a Safe Set C={x∈D⊂Rn:h(x)≥0}h(x) is a control barrier function (CBF) for an Affine Control System if there exists a Class Κ function α such that u∈Usup[Lfh(x)+Lgh(x)u+α(b(x))]≥0,∀x∈Cwhere Lf,Lg denote the Lie derivatives along f and g, respectively. It is assumed that Lgh(x)=0 when h(x)=0.