vscode-pddl
vscode-pddl copied to clipboard
Intermediate output
Is there a way where we could view the intermediate states and the numeric values of all the 'inited' variables? Or even just display all the numeric values of objects at the end would be great. It would be helpful in debugging. Could not find such a feature through the docs,
Thanks
And is it intermediate states during search, or intermediate states that are part of the plan?
Assuming you mean the intermediate states within the plan as if it was executed in a dead reckoning mode, and eventually the final goal-satisfying state at the end of the plan execution, you can do it this way.
Note that it is important to have the first two metadata lines in the .plan and then .happenings files. To get them there, easiest is to export the plan from the plan preview pane as shown in the screen capture. Subsequently the commands you need are available in the context menu by right-clicking on the plan/happening text.
Final plan state values:

Intermediate state values:
