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

Is it possible to modify the domain via the DomainExpertClient? #308

Open
Rezenders opened this issue May 6, 2024 · 2 comments
Open

Is it possible to modify the domain via the DomainExpertClient? #308

Rezenders opened this issue May 6, 2024 · 2 comments

Comments

@Rezenders
Copy link
Contributor

Rezenders commented May 6, 2024

Hello,

Is it possible to modify the domain formulation via the DomainExpertClient? For example, adding a precondition to an action.

Similar to how the problem formulation is modified with the ProblemExpertClient? E.g., problem_expert_->addPredicate(plansys2::Predicate("(robot_at r2d2 wp1)"));

By checking the code, I concluded that this is not possible, but I would like to double-check with you.

Best,
Gustavo.

@fmrico
Copy link
Contributor

fmrico commented May 7, 2024

Well, the DomainExpert is currently static, but that is not necessarily written on Stone. It could be a good contribution if you want to work on It 😉

@Rezenders
Copy link
Contributor Author

Good to know. This is something I would like to work on.
I will investigate the code more, sketch a solution, and post it here before implementing something.

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

2 participants