Commit 7140cf99 authored by Felix Haase's avatar Felix Haase
Browse files
No related merge requests found
Pipeline #1275 failed with stages
in 3 minutes and 52 seconds
Showing with 4 additions and 4 deletions
+4 -4
......@@ -74,10 +74,10 @@ simple_plans(SortedPlans) :-
% Finds a plan for targetting a pig, returns a list of a target, the strategy chosen, and confidence
% plan_(-DecisionList)
plan(Bird, plan{bird:Bird, shot:Shot, target_object:Target, impact_angle:ImpactAngle, strategy:"targetPig", confidence:C, reasons:[Target]}) :-
pig(Target), % unify Target with some object of type pig
isHittable(Target, ImpactAngle), % ensure Target is directly hittable (and perform backtracking to pig(Target), if not)
C is 0.8, % set confidence to 80% that shot is sensible
shot_at_target(Target,ImpactAngle, Shot). % compute shot parameters (needed by agent to launch bird)
pig(Target), % unify Target with some object of type pig
isHittable(Target, ImpactAngle), % ensure Target is directly hittable (and perform backtracking to pig(Target), if not)
C is 0.8, % set confidence to 80% that shot is sensible
shot_at_target(Target,ImpactAngle, Shot). % compute shot parameters (needed by agent to launch bird)
% Finds a plan for targetting a pig hidden behind a single obstacle
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment