Open Ogusch opened 1 year ago
Hi Ogusch, I believe this is because you are not specifying the values of the kus.knowledge to be removed (that is, the parameters of n_drinks). Here: https://github.com/KCL-Planning/ROSPlan/blob/639037230073997d3ed3fea7391f1e1b3c6b1ffa/rosplan_knowledge_base/src/KnowledgeComparitor.cpp#L154 it checks that the value is the same, and this is used by remove goal (which, in the case of a function, it checks as if it was a fact, so it only checks for the function name and parameters to be equal).
Hello,
I have written a coordinator that checks the KB predicates. Depending on the state, the target should be changed. However, I am not able to remove the current targets. E.g.
Initial Problem.pddl
I want followig:
Snippet of function, which should remove goals:
The problem instance is getting overwritten. Only the goal does not change.