-
Notifications
You must be signed in to change notification settings - Fork 88
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
Add support for derived predicates #318
Conversation
Hi @Rezenders Very interesting feature!! But I think it is not only being able to read a pddl file, but have it full functionality that includes:
Do you think we could use this PR to try to complete this list? Thanks!! |
Hello @fmrico, Thanks for the input!
Sure :)
What do you think should be the return type of a
Yeah, I believe that is probably how the planner handles derived predicates. @tobiaswjohn do you have any input on this?
I am not sure I understood this part |
This is supposed to be done. I still need to figure out a way to test the services. PS: I had problems when derived predicates had ros2_planning_system/plansys2_pddl_parser/src/plansys2_pddl_parser/Exists.cpp Lines 25 to 27 in a797196
|
Hi @Rezenders
I suppose that, during the execution of a plan, if the expression of a derived predicate is true, we should add the predicate (the derived predicate), right? In that case, we should think on a runtime mechanism to do it.
Yes, it can go in a separate predicate. Thanks!!! :) |
What if we just check if the derived predicates preconditions are satisfied when I still need to test if this actually works. |
I can't test with the setup I have because the planner I am using that supports derived predicates doesn't support durative actions. Related to issue #319 |
5a56148
to
2262740
Compare
I don't think it is ready to merge. |
I think this can be solved by returning the derived predicates with their preconditions fulfilled in |
Really good work, @Rezenders , congratulations. Merging!!! 🚀 |
Add support for derived predicates
Related to #317