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

Intermediate output #116

Open
ShrutheeshIR opened this issue Feb 13, 2022 · 2 comments
Open

Intermediate output #116

ShrutheeshIR opened this issue Feb 13, 2022 · 2 comments

Comments

@ShrutheeshIR
Copy link

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

@jan-dolejsi
Copy link
Owner

And is it intermediate states during search, or intermediate states that are part of the plan?

@jan-dolejsi
Copy link
Owner

jan-dolejsi commented Jun 12, 2022

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:
goal-state-evaluation gif

Intermediate state values:
intermediate-state-evaluation gif

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