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

Apply CBF on discrete action space #23

Open
Lplenka opened this issue Jul 21, 2022 · 2 comments
Open

Apply CBF on discrete action space #23

Lplenka opened this issue Jul 21, 2022 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@Lplenka
Copy link

Lplenka commented Jul 21, 2022

Hello @junzengx14 @koushils @ayush-agrawal

Thanks for sharing this repo and your work in using CBF and CLF for the safety and stability of non-linear dynamic systems. I have read two of your papers, "Safety-Critical Control and Planning for Obstacle Avoidance between Polytopes with Control Barrier Functions" arxiv and "Enhancing Feasibility and Safety of Nonlinear Model Predictive Control with Discrete-Time Control Barrier Functions" IEEE.

Very interesting papers.

I am working on a similar project where the agent has discrete action space (left, right, forward etc.). As far as I understood, you have applied CBF-CLF in continuous action space (steering and acceleration).

Does this implementation of CBF also work for discrete action space?

@junzengx14 junzengx14 self-assigned this Jul 21, 2022
@junzengx14 junzengx14 added the question Further information is requested label Jul 21, 2022
@junzengx14 junzengx14 changed the title CBF for discrete action space Apply CBF on discrete action space Jul 21, 2022
@junzengx14
Copy link
Collaborator

Hi Lalu,

Thank you for raising this issue and glad that you are interested in our work. You are right that we apply CLF and CBF in continuous action space. For potential implementation of CBF on discrete action space, I wouldn't say it's out of possibility but it would be definitely challenging as both DDP and lie derivative thing won't be able to work for discrete action space.

I'm glad to follow up more in email, please reach out to [email protected] if you are interested in a further discussion or we can directly hop on a call.

@Lplenka
Copy link
Author

Lplenka commented Jul 21, 2022

Thanks for your reply @junzengx14

I hope you meant differential dynamic programming by DDP. It makes sense that differential dynamic programming and lie derivatives wouldn't work for discrete action space. Probably that's why CBF and CLF are mostly applied to continuous action space in literature.

I would like to learn more about these limitations of CBF and find some way of addressing them. Happy to connect 😄. I will send you a mail.

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

No branches or pull requests

2 participants