-
Notifications
You must be signed in to change notification settings - Fork 158
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
FFPlannerInterface is not able to work with Contingent-FF #254
Comments
#255 issue should be consider together with this one. |
Working on this issue, see: https://github.com/dgerod/ROSPlan/tree/feature/Add-ContingentFF-planner |
Pull request #256. |
I am also having a hard time trying to work with contingent planning. Can you please add a working example for this type of planning? |
Sure. Domain file:
Problem file:
|
Thank you very much for your reply. In my example, I used the PDDL extension (words 'observe', 'unknown', and 'oneof') for contingent planning with partially observable domains. See https://github.com/KCL-Planning/rosplan_demos/blob/master/rosplan_demos/common/d.pddl Thanks, |
Are you using FF PlannerInterface with Contingent-FF? The output file of Contingent-FF planner is different than the one of FF planner, and this is the reason why it could not be used with FF PlannerInterface. You need to use the code that I wrote in PR #256 as I said above, the PR is not merged to ROSPlan. |
Thank you!!!. One last thing, When I am planning, and action failed (or something like that), I want to perform replanning. |
No, there is not other way to do that, what you are doing is the way to do re-planning. In a previous version of ROSPlan it was possible to configure an automatic re-planning when an action failed, but this functionality was removed. Maybe the article you are reading is the first one of ROSPlan where the system is explained, this article is based on the version that had automatic re-planning. |
Thank you for your fast and helpful replies. |
@dgerod Would you be able to provide an example with uncertainty in the initial state/ limited observability of the initial locations of the objects that need to be manipulated? I am also having trouble being able to use Contingent-FF to the fullest. Thank you! |
Hi @LiamMZ, I don't understand you request, I am not an expert in planning. My work is not in planners but on how execute the generated actions, so my PDDL files are quite simple. Sorry for not be able to help you. |
@dgerod No worries, apologies for the confusion! |
Although it is written that ff_planner_interface works with Contingent-FF, it is not working well. The problem is that it returns that the plan is unsolvable when it is solvable.
After Contingent-FF generates correctly generating the plan, the "FFPlannerInstance" should look for "ff: found plan as follows"
to check if the plan was solved or not. However, it is looking for "ff: found legal plan". See below:
Looking for "ff: found legal plan" is correct because it is what FF planner writes, but it is not what Contingent-FF does. So, "FFPlannerInstance" should also look for "ff: found plan as follows", other option is only look for "ff: found" for both planners.
The text was updated successfully, but these errors were encountered: