-
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
Adding support for new planner: problems parsing pddl files #317
Comments
PR #318 solves the problem of the derived predicates not being parsed. However, I still get errors with (:derived (inferred-Inconsistent )
(exists (?x ?y ?z)
(and
(inferred-C_status ?x ?y)
(inferred-C_status ?x ?z)
(not (= ?y ?z))
)
)
) Error:
This error occurs because it is not possible to cast ros2_planning_system/plansys2_pddl_parser/src/plansys2_pddl_parser/Not.cpp Lines 31 to 35 in c063ce5
I don't really know how to fix this problem as I don't fully understand what the |
Hello,
I am working on adding support for the Symk planner to PlanSys2, mainly because I need a planner that supports derived predicates.
I created a ros package and a plansys plugin for the planner: https://github.com/Rezenders/symk_ros
And I am trying to apply it to SUAVE exemplar with the following setup: https://github.com/Rezenders/suave_planning
However, I am having some problems with the parsing of my PDDL files. The derived predicates in the domain file don't get parsed, and some predicates in the problem file are also not getting parsed. I can check this by looking into the domain and problem files created in the
/tmp
folder.For example, the suave_domain_created.pddl domain file is outputted as:
The suave_problem_created.pddl problem file becomes:
I will work on this the following week and propose a PR when I solve these problems. I opened this issue to let you know and check if anyone has insights on how to solve this.
I guess the problem of the derived predicates not being parsed is related to the parseDerived method
ros2_planning_system/plansys2_pddl_parser/include/plansys2_pddl_parser/Domain.h
Line 102 in c063ce5
But I still need to figure out why the problem file predicates are not parsed. Would anyone happen to have any ideas?
The text was updated successfully, but these errors were encountered: