%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(lox12).
h(in_state(lox12,open),0).
stuck(li12,closed).
stuck(fha,open).
stuck(rx12,closed).
has_leak(ffm1).
h(in_state(ffm1,open),0).
stuck(fha,closed).
stuck(rm3,closed).
has_leak(rfm5).
h(in_state(rfm5,open),0).
stuck(ri345a,open).
has_leak(ffm2).
h(in_state(ffm2,open),0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

% Maneuver to be performed: plus_yaw
goal(T,fwd_rcs) :- time(T),
                   h(maneuver_of(plus_yaw,fwd_rcs),T).

goal(T,left_rcs) :- time(T),
                   h(maneuver_of(plus_yaw,left_rcs),T).

goal(T,right_rcs) :- time(T),
                   h(maneuver_of(plus_yaw,right_rcs),T).

