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

Compatibility of the planning domain with the ontology model #228

Open
alex-mitrevski opened this issue Mar 22, 2020 · 0 comments
Open

Compatibility of the planning domain with the ontology model #228

alex-mitrevski opened this issue Mar 22, 2020 · 0 comments
Assignees

Comments

@alex-mitrevski
Copy link
Member

Related to b-it-bots/mas_knowledge_base#15 and #226

In order to use the knowledge from the ontology for planning, our default planning domain needs to be appropriately modified. In particular:

  1. the types defined in the domain should match the types in the ontology
  2. predicates whose assertions come from the ontology should be defined in the domain (by following the parameter naming conventions defined in the ontology export script)
  3. some of the actions (such as pick and place) need to be defined for different contexts (e.g. pick from surface, pick from container, etc.) since the preconditions and effects are generally different depending on the context (in the pick example, pick from surface requires and objects to be on the surface, while pick from container requires the object to be in the container)
  4. other actions may need to be defined in the domain as well (e.g. an action for handing over objects to a person)

As described above, 1 and 2 mean that care will need to be taken to keep the planning domain and the ontology model in sync. A better long-term solution would be to generate parts of the domain (i.e. the types and predicates) when ontology export is performed.

@alex-mitrevski alex-mitrevski self-assigned this Mar 22, 2020
alex-mitrevski added a commit that referenced this issue Mar 23, 2020
* Adapted the domain for the LAMA planner
* Added some predicates and types from the ontology
* Added two more pick and place versions and defined action contexts
* Added a hand-over action
alex-mitrevski added a commit that referenced this issue Mar 25, 2023
…m-ontology

Planning domain adaptations for issue #228
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant