Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated set_table example for new API
- Loading branch information
Jonathan Binney
committed
Jun 3, 2012
1 parent
3043a5e
commit 435831d
Showing
8 changed files
with
116 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
*.pyc | ||
*.pyc | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# set_table.py runs HPN on a simple domain described only by conjunction of fluents. | ||
# the optional argument to set_table.py is the filename where it should output a .dot graph | ||
# description which shows the hierarchy created by the planner | ||
roscd python_task_planning | ||
python examples/set_table/set_table.py graph.dot | ||
|
||
# to view the resulting graph, first convert it to a png file | ||
dot -Tpng -ograph.png graph.dot | ||
display graph.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from hierarchical_interactive_planning.common import Symbol, Variable, Fluent, ConjunctionOfFluents, AbstractionInfo, \ | ||
from python_task_planning.common import Symbol, Variable, Fluent, ConjunctionOfFluents, AbstractionInfo, \ | ||
Operator, OperatorInstance, HPlanTree, Predicate | ||
from hierarchical_interactive_planning.hpn import hpn | ||
from hierarchical_interactive_planning.dot_graph import dot_from_plan_tree | ||
from hierarchical_interactive_planning.exceptions import PlanningFailedError | ||
from python_task_planning.hpn import hpn | ||
from python_task_planning.dot_graph import dot_from_plan_tree | ||
from python_task_planning.exceptions import PlanningFailedError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters