-
Notifications
You must be signed in to change notification settings - Fork 7
Runtime Commands
dtdannen edited this page Jul 9, 2015
·
25 revisions
When you run MIDCA with interactive mode enabled (by default) the following are commands that are available. Examples are from examples/simple_run_arson.py
Skips ahead one full cycle - goes through every phase once. In this example, the phases are
["Simulate", "Perceive", "Interpret", "Eval", "Intend", "Plan", "Act"]
Example:
****** Starting Eval Phase ******
Not all goals achieved; Goal(C_, B_, predicate: on) is not true.
Next MIDCA command: skip
cycle finished
Next MIDCA command:
****** Starting Intend Phase ******
Selecting goal(s): Goal(C_, B_, predicate: on)
In this example, the 'Eval' phases finishes, then the user enters 'skip', and the phases Intend, Plan, Act, Simulate, Perceive, Interpret, and Eval are executed in that order. A full cycle was finished.
Go to MIDCA Home page