Skip to content

Commit

Permalink
chore(test): Add example with a timed goal to test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
arbimo committed May 2, 2023
1 parent 5444391 commit 5023d15
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions unified_planning/test/examples/realistic.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,14 @@ def get_example_problems():
robot_static_fluents_duration = Example(problem=problem, plan=t_plan)
problems["robot_with_static_fluents_duration"] = robot_static_fluents_duration

# Robot with timed_goals (extension of the previous problem with timed goals)
problem = problem.clone()
problem.name = problem.name + "_timed_goals"
problem.add_timed_goal(GlobalStartTiming() + 50, is_at(l5, r1))
problems["robot_with_static_fluents_duration_timed_goals"] = Example(
problem=problem, plan=t_plan
)

# travel
problem = Problem("travel")

Expand Down

0 comments on commit 5023d15

Please sign in to comment.