Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of HOCBF/ECBF #10

Open
gy2256 opened this issue Jan 28, 2023 · 0 comments
Open

Implementation of HOCBF/ECBF #10

gy2256 opened this issue Jan 28, 2023 · 0 comments

Comments

@gy2256
Copy link

gy2256 commented Jan 28, 2023

derivDistance = 2*(x(1)-p_o(1))*x(2) + 2*(x(3)-p_o(2))*x(4);
cbf = derivDistance + params.cbf_gamma0 * distance;

Thanks for making this tool available. It's really helpful to use it to play around the values. I have a quesiton regarding to implement HOCBF (ECBF in this case). Why is the CBF defined like this?

Shouldn't the ECBF be like LfLf h(x) + LgLfh(x) u >= -gamma_1 h(x) - gamma_2 Lfh(x)? How does line 23 convert into the ECBF constraint with control (u) in it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant